Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.001272/0.001272, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001463/0.001463, allocations: 219 kB / 23.03 MB, free: 4.922 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.196/3.196, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="cs",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.001959/0.001959, allocations: 78.31 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3638, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007406/0.3712, allocations: 4.65 MB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1766/0.5478, allocations: 132.6 MB / 1.479 GB, free: 6.145 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.549, allocations: 23.81 kB / 1.479 GB, free: 6.121 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007289/0.5498, allocations: 214.1 kB / 1.48 GB, free: 5.91 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.5517, allocations: 0.5923 MB / 1.48 GB, free: 5.32 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.5539, allocations: 0.8636 MB / 1.481 GB, free: 4.461 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001829/0.5557, allocations: 1.467 MB / 1.482 GB, free: 2.984 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008112/0.5565, allocations: 460.6 kB / 1.483 GB, free: 2.516 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007871/0.5573, allocations: 0.5373 MB / 1.483 GB, free: 1.977 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007185/0.558, allocations: 0.5562 MB / 1.484 GB, free: 1.418 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.5582, allocations: 135.9 kB / 1.484 GB, free: 1.285 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.5593, allocations: 0.5074 MB / 1.485 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003455/0.5596, allocations: 326.9 kB / 1.485 GB, free: 468 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005592/0.5602, allocations: 0.4938 MB / 1.485 GB, free: 15.96 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.5624, allocations: 1.802 MB / 1.487 GB, free: 14.15 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5624, allocations: 0 / 1.487 GB, free: 14.15 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5624, allocations: 0 / 1.487 GB, free: 14.15 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.135e-05/0.5624, allocations: 0 / 1.487 GB, free: 14.15 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002896/0.5653, allocations: 1.486 MB / 1.489 GB, free: 12.63 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.5653, allocations: 16.02 kB / 1.489 GB, free: 12.61 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.615e-05/0.5654, allocations: 26.19 kB / 1.489 GB, free: 12.59 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/0.5656, allocations: 144.1 kB / 1.489 GB, free: 12.44 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.5675, allocations: 275.9 kB / 1.489 GB, free: 12.17 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.5688, allocations: 0.7411 MB / 1.49 GB, free: 11.4 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.77e-05/0.5689, allocations: 74 kB / 1.49 GB, free: 11.33 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.5691, allocations: 88 kB / 1.49 GB, free: 11.24 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.5712, allocations: 1.262 MB / 1.491 GB, free: 9.883 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.5712, allocations: 0 / 1.491 GB, free: 9.883 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.5713, allocations: 44 kB / 1.491 GB, free: 9.84 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.5713, allocations: 24 kB / 1.491 GB, free: 9.816 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.5735, allocations: 1.167 MB / 1.492 GB, free: 8.648 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004565/0.578, allocations: 2.317 MB / 1.495 GB, free: 6.27 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/0.5805, allocations: 0.8442 MB / 1.495 GB, free: 5.418 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005996/0.5811, allocations: 282.7 kB / 1.496 GB, free: 5.141 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.617e-05/0.5811, allocations: 28.62 kB / 1.496 GB, free: 5.113 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.5822, allocations: 0.6012 MB / 1.496 GB, free: 4.469 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.765e-06/0.5822, allocations: 4 kB / 1.496 GB, free: 4.465 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003545/0.5857, allocations: 1.162 MB / 1.497 GB, free: 3.293 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.5859, allocations: 188.6 kB / 1.498 GB, free: 3.066 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.5869, allocations: 0.6685 MB / 1.498 GB, free: 2.387 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-05/0.587, allocations: 45.64 kB / 1.498 GB, free: 2.336 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004219/0.5874, allocations: 441 kB / 1.499 GB, free: 1.898 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/0.5877, allocations: 277.6 kB / 1.499 GB, free: 1.625 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.588, allocations: 150.6 kB / 1.499 GB, free: 1.473 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.5882, allocations: 386.8 kB / 1.499 GB, free: 1.086 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005618/0.5887, allocations: 257.9 kB / 1.5 GB, free: 0.832 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007748/0.5895, allocations: 0.4912 MB / 1.5 GB, free: 292 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.5907, allocations: 0.5994 MB / 1.501 GB, free: 15.68 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.5907, allocations: 0 / 1.501 GB, free: 15.68 MB / 1.201 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002237/0.593, allocations: 0.8296 MB / 1.502 GB, free: 14.84 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.593, allocations: 8 kB / 1.502 GB, free: 14.83 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.593, allocations: 7.984 kB / 1.502 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006464/0.5937, allocations: 84.86 kB / 1.502 GB, free: 14.73 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00071/0.5944, allocations: 155.8 kB / 1.502 GB, free: 14.58 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.5966, allocations: 1.533 MB / 1.503 GB, free: 12.93 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007888/0.5974, allocations: 87.52 kB / 1.503 GB, free: 12.84 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.266e-05/0.5975, allocations: 35.97 kB / 1.503 GB, free: 12.81 MB / 1.201 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 (88): * Single equations (assignments): 87 * 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.0004982/0.598, allocations: 265.7 kB / 1.504 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.5982, allocations: 95.56 kB / 1.504 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002606/0.6008, allocations: 1.097 MB / 1.505 GB, free: 11.34 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.6008, allocations: 12 kB / 1.505 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.6008, allocations: 0 / 1.505 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.6008, allocations: 3.984 kB / 1.505 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003625/0.6044, allocations: 1.86 MB / 1.507 GB, free: 9.406 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.6044, allocations: 4 kB / 1.507 GB, free: 9.402 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006616/0.6051, allocations: 147.8 kB / 1.507 GB, free: 9.258 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004525/0.6056, allocations: 76.78 kB / 1.507 GB, free: 9.18 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.505e-05/0.6056, allocations: 27.97 kB / 1.507 GB, free: 9.152 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/0.6077, allocations: 1.555 MB / 1.508 GB, free: 7.48 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6077, allocations: 0 / 1.508 GB, free: 7.48 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.61, allocations: 1.026 MB / 1.509 GB, free: 6.434 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004815/0.6105, allocations: 215 kB / 1.51 GB, free: 6.223 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.6106, allocations: 24 kB / 1.51 GB, free: 6.199 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006918/0.6113, allocations: 63.92 kB / 1.51 GB, free: 6.137 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.6115, allocations: 80.73 kB / 1.51 GB, free: 6.059 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.144e-05/0.6116, allocations: 35.98 kB / 1.51 GB, free: 6.023 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006936/0.6122, allocations: 487 kB / 1.51 GB, free: 5.555 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6122, allocations: 0 / 1.51 GB, free: 5.555 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001002/0.6133, allocations: 343.1 kB / 1.511 GB, free: 5.219 MB / 1.201 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * 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.004618/0.6179, allocations: 2.122 MB / 1.513 GB, free: 3.273 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001805/0.6197, allocations: 0.7884 MB / 1.514 GB, free: 2.477 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6197, allocations: 0 / 1.514 GB, free: 2.477 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.6207, allocations: 0.5041 MB / 1.514 GB, free: 1.961 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.622, allocations: 312.7 kB / 1.514 GB, free: 1.676 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.6335, allocations: 6.524 MB / 1.521 GB, free: 11 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.6341, allocations: 461.7 kB / 1.521 GB, free: 10.52 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009119/0.635, allocations: 267.1 kB / 1.521 GB, free: 10.25 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006422/0.6356, allocations: 411.3 kB / 1.522 GB, free: 9.848 MB / 1.217 GB Notification: Performance of SimCode: time 9.41e-07/0.6356, allocations: 0 / 1.522 GB, free: 9.848 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05937/0.695, allocations: 24.06 MB / 1.545 GB, free: 2.148 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.23, allocations: 8.062 kB / 1.545 GB, free: 2.141 MB / 1.232 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.154324272996746]