Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002194/0.002194, allocations: 213.7 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.299/3.299, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003132/0.003132, allocations: 73.16 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4036, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008722/0.4123, allocations: 5.359 MB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1909/0.6033, allocations: 132.9 MB / 1.46 GB, free: 7.57 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.6045, allocations: 31.81 kB / 1.46 GB, free: 7.539 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.6057, allocations: 237.7 kB / 1.46 GB, free: 7.305 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002948/0.6086, allocations: 0.6555 MB / 1.461 GB, free: 6.648 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002852/0.6115, allocations: 0.893 MB / 1.462 GB, free: 5.762 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002829/0.6143, allocations: 1.677 MB / 1.463 GB, free: 4.078 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/0.6158, allocations: 0.5737 MB / 1.464 GB, free: 3.461 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.6173, allocations: 0.6423 MB / 1.465 GB, free: 2.816 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.6187, allocations: 0.5908 MB / 1.465 GB, free: 2.223 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005341/0.6193, allocations: 156 kB / 1.465 GB, free: 2.07 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.621, allocations: 0.5191 MB / 1.466 GB, free: 1.551 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006639/0.6217, allocations: 378.8 kB / 1.466 GB, free: 1.18 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.6228, allocations: 0.6143 MB / 1.467 GB, free: 0.5625 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003469/0.6263, allocations: 2.09 MB / 1.469 GB, free: 14.46 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6263, allocations: 0 / 1.469 GB, free: 14.46 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6263, allocations: 4 kB / 1.469 GB, free: 14.46 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.967e-05/0.6264, allocations: 7.938 kB / 1.469 GB, free: 14.45 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003642/0.63, allocations: 1.713 MB / 1.471 GB, free: 12.7 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.63, allocations: 12.03 kB / 1.471 GB, free: 12.69 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002304/0.6303, allocations: 181.8 kB / 1.471 GB, free: 12.5 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.632, allocations: 271.8 kB / 1.471 GB, free: 12.24 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.6338, allocations: 0.8155 MB / 1.472 GB, free: 11.39 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-05/0.6339, allocations: 86.41 kB / 1.472 GB, free: 11.31 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.634, allocations: 120 kB / 1.472 GB, free: 11.19 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/0.6365, allocations: 1.453 MB / 1.473 GB, free: 9.613 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.6366, allocations: 4 kB / 1.473 GB, free: 9.609 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.6367, allocations: 52 kB / 1.473 GB, free: 9.559 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.531e-05/0.6367, allocations: 28 kB / 1.474 GB, free: 9.531 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.639, allocations: 1.234 MB / 1.475 GB, free: 8.289 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005724/0.6448, allocations: 2.792 MB / 1.477 GB, free: 5.426 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.6465, allocations: 0.8151 MB / 1.478 GB, free: 4.602 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005929/0.6471, allocations: 298.7 kB / 1.479 GB, free: 4.309 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.714e-05/0.6472, allocations: 24.62 kB / 1.479 GB, free: 4.285 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/0.6483, allocations: 0.6164 MB / 1.479 GB, free: 3.625 MB / 1.17 GB Notification: Performance of pre-optimization done (n=87): time 2.906e-06/0.6483, allocations: 0 / 1.479 GB, free: 3.625 MB / 1.17 GB Notification: Performance of matching and sorting (n=87): time 0.003618/0.6519, allocations: 1.219 MB / 1.48 GB, free: 2.398 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.652, allocations: 196.9 kB / 1.481 GB, free: 2.164 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.6532, allocations: 0.7589 MB / 1.481 GB, free: 1.395 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.6533, allocations: 41.7 kB / 1.481 GB, free: 1.348 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005495/0.6539, allocations: 0.5359 MB / 1.482 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/0.6542, allocations: 297.5 kB / 1.482 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.6544, allocations: 162.6 kB / 1.482 GB, free: 356 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.6546, allocations: 337.9 kB / 1.483 GB, free: 12 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006082/0.6552, allocations: 269.9 kB / 1.483 GB, free: 15.75 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007959/0.656, allocations: 0.4991 MB / 1.483 GB, free: 15.19 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.6573, allocations: 0.632 MB / 1.484 GB, free: 14.54 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.6573, allocations: 8.062 kB / 1.484 GB, free: 14.54 MB / 1.186 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002314/0.6596, allocations: 0.8842 MB / 1.485 GB, free: 13.64 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.6596, allocations: 7.938 kB / 1.485 GB, free: 13.64 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6597, allocations: 0 / 1.485 GB, free: 13.64 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/0.6603, allocations: 76.88 kB / 1.485 GB, free: 13.56 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007473/0.661, allocations: 167.8 kB / 1.485 GB, free: 13.39 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/0.6635, allocations: 1.519 MB / 1.487 GB, free: 11.75 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009491/0.6645, allocations: 105.1 kB / 1.487 GB, free: 11.65 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.458e-05/0.6646, allocations: 36.08 kB / 1.487 GB, free: 11.62 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006471/0.6652, allocations: 298.7 kB / 1.487 GB, free: 11.32 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.6654, allocations: 99.34 kB / 1.487 GB, free: 11.22 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002739/0.6682, allocations: 1.13 MB / 1.488 GB, free: 10.08 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.6682, allocations: 12 kB / 1.488 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.6682, allocations: 0 / 1.488 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.6682, allocations: 7.969 kB / 1.488 GB, free: 10.06 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.6696, allocations: 0.8989 MB / 1.489 GB, free: 9.117 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.6696, allocations: 0 / 1.489 GB, free: 9.117 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006517/0.6703, allocations: 159.8 kB / 1.489 GB, free: 8.961 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/0.6707, allocations: 76.72 kB / 1.489 GB, free: 8.883 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-05/0.6708, allocations: 31.91 kB / 1.489 GB, free: 8.852 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.6729, allocations: 1.531 MB / 1.491 GB, free: 7.199 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.6729, allocations: 8.094 kB / 1.491 GB, free: 7.191 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.6752, allocations: 0.9906 MB / 1.492 GB, free: 6.18 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005708/0.6758, allocations: 226.9 kB / 1.492 GB, free: 5.957 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.6759, allocations: 27.92 kB / 1.492 GB, free: 5.93 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006598/0.6766, allocations: 59.88 kB / 1.492 GB, free: 5.871 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.6768, allocations: 76.86 kB / 1.492 GB, free: 5.793 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.347e-05/0.6768, allocations: 39.97 kB / 1.492 GB, free: 5.754 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008337/0.6777, allocations: 0.5303 MB / 1.493 GB, free: 5.227 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6777, allocations: 4 kB / 1.493 GB, free: 5.223 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001167/0.6788, allocations: 390.9 kB / 1.493 GB, free: 4.84 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004679/0.6835, allocations: 2.092 MB / 1.495 GB, free: 2.93 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002083/0.6856, allocations: 0.8195 MB / 1.496 GB, free: 2.098 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6856, allocations: 192 / 1.496 GB, free: 2.098 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.6867, allocations: 0.5158 MB / 1.496 GB, free: 1.574 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.6882, allocations: 339.5 kB / 1.497 GB, free: 1.27 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.7014, allocations: 7.138 MB / 1.504 GB, free: 9.969 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007317/0.7022, allocations: 0.5263 MB / 1.504 GB, free: 9.41 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00104/0.7032, allocations: 271.8 kB / 1.505 GB, free: 9.141 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007736/0.704, allocations: 495.2 kB / 1.505 GB, free: 8.656 MB / 1.201 GB Notification: Performance of SimCode: time 1.182e-06/0.704, allocations: 0 / 1.505 GB, free: 8.656 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07601/0.78, allocations: 26.24 MB / 1.531 GB, free: 14.75 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/15.2, allocations: 14.27 kB / 1.531 GB, free: 14.74 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable HDifWal.H in file Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv. Warning: Get data of variable HDifWal.H from file Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.65105400327593]