Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.001554/0.001554, allocations: 113 kB / 18.94 MB, free: 2.934 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.001945/0.001945, allocations: 210.3 kB / 22.25 MB, free: 5.086 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.433/1.433, allocations: 230.6 MB / 256 MB, free: 7.996 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.104/3.104, allocations: 0.49 GB / 0.7951 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 177] 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.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.002018/0.002018, allocations: 74.73 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3391, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007082/0.3461, allocations: 5.036 MB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1754/0.5215, allocations: 154.2 MB / 1.481 GB, free: 2.02 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009192/0.5224, allocations: 23.81 kB / 1.481 GB, free: 1.996 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006844/0.5231, allocations: 202.2 kB / 1.482 GB, free: 1.797 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.525, allocations: 0.5747 MB / 1.482 GB, free: 1.223 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.5274, allocations: 0.9012 MB / 1.483 GB, free: 336 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00198/0.5293, allocations: 1.46 MB / 1.484 GB, free: 14.86 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007904/0.5301, allocations: 422.2 kB / 1.485 GB, free: 14.43 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008338/0.531, allocations: 0.5294 MB / 1.485 GB, free: 13.89 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007942/0.5318, allocations: 0.5368 MB / 1.486 GB, free: 13.36 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.532, allocations: 120 kB / 1.486 GB, free: 13.24 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.5331, allocations: 0.5152 MB / 1.486 GB, free: 12.72 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003095/0.5334, allocations: 303 kB / 1.487 GB, free: 12.43 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005572/0.5339, allocations: 0.5869 MB / 1.487 GB, free: 11.84 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002306/0.5362, allocations: 1.724 MB / 1.489 GB, free: 10.11 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5362, allocations: 0 / 1.489 GB, free: 10.11 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.734e-06/0.5362, allocations: 0 / 1.489 GB, free: 10.11 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.073e-05/0.5363, allocations: 3.938 kB / 1.489 GB, free: 10.1 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002843/0.5391, allocations: 1.456 MB / 1.49 GB, free: 8.609 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.5392, allocations: 12.03 kB / 1.49 GB, free: 8.598 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000157/0.5393, allocations: 135.6 kB / 1.491 GB, free: 8.457 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.541, allocations: 259.9 kB / 1.491 GB, free: 8.203 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.5423, allocations: 0.7218 MB / 1.492 GB, free: 7.453 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.5424, allocations: 66 kB / 1.492 GB, free: 7.387 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.5425, allocations: 84 kB / 1.492 GB, free: 7.305 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.5441, allocations: 0.9534 MB / 1.493 GB, free: 6.312 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.5441, allocations: 4 kB / 1.493 GB, free: 6.309 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-05/0.5442, allocations: 36 kB / 1.493 GB, free: 6.273 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.5442, allocations: 27.94 kB / 1.493 GB, free: 6.246 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.546, allocations: 1.124 MB / 1.494 GB, free: 5.117 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004407/0.5504, allocations: 2.748 MB / 1.496 GB, free: 2.242 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.552, allocations: 0.7777 MB / 1.497 GB, free: 1.453 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/0.5525, allocations: 290.7 kB / 1.498 GB, free: 1.164 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.873e-05/0.5526, allocations: 36.67 kB / 1.498 GB, free: 1.129 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008938/0.5535, allocations: 0.5177 MB / 1.498 GB, free: 0.5977 MB / 1.186 GB Notification: Performance of pre-optimization done (n=85): time 2.525e-06/0.5535, allocations: 0 / 1.498 GB, free: 0.5977 MB / 1.186 GB Notification: Performance of matching and sorting (n=85): time 0.003301/0.5568, allocations: 1.196 MB / 1.499 GB, free: 15.39 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.5569, allocations: 196.9 kB / 1.499 GB, free: 15.16 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009048/0.5578, allocations: 0.6568 MB / 1.5 GB, free: 14.49 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.806e-05/0.5579, allocations: 49.7 kB / 1.5 GB, free: 14.44 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.5583, allocations: 417 kB / 1.501 GB, free: 14.02 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/0.5586, allocations: 285.6 kB / 1.501 GB, free: 13.74 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.5588, allocations: 154.6 kB / 1.501 GB, free: 13.59 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.559, allocations: 398.7 kB / 1.501 GB, free: 13.19 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.5595, allocations: 253.9 kB / 1.502 GB, free: 12.94 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006225/0.5601, allocations: 375.4 kB / 1.502 GB, free: 12.54 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.5612, allocations: 0.6133 MB / 1.503 GB, free: 11.91 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.5613, allocations: 3.938 kB / 1.503 GB, free: 11.91 MB / 1.201 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001985/0.5632, allocations: 0.8413 MB / 1.503 GB, free: 11.06 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.5633, allocations: 7.938 kB / 1.503 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.5633, allocations: 7.984 kB / 1.503 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005999/0.5639, allocations: 80.91 kB / 1.503 GB, free: 10.96 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006564/0.5645, allocations: 159.8 kB / 1.504 GB, free: 10.8 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.5667, allocations: 1.531 MB / 1.505 GB, free: 9.152 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007529/0.5674, allocations: 106.2 kB / 1.505 GB, free: 9.051 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.089e-05/0.5675, allocations: 35.86 kB / 1.505 GB, free: 9.016 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0004887/0.568, allocations: 273.6 kB / 1.505 GB, free: 8.738 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.5682, allocations: 95.39 kB / 1.506 GB, free: 8.645 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.5707, allocations: 1.136 MB / 1.507 GB, free: 7.496 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.5707, allocations: 12 kB / 1.507 GB, free: 7.484 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.5707, allocations: 0 / 1.507 GB, free: 7.484 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.5707, allocations: 3.984 kB / 1.507 GB, free: 7.48 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003671/0.5744, allocations: 2.02 MB / 1.509 GB, free: 5.406 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.5744, allocations: 4 kB / 1.509 GB, free: 5.402 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005972/0.575, allocations: 151.8 kB / 1.509 GB, free: 5.254 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000442/0.5754, allocations: 72.78 kB / 1.509 GB, free: 5.18 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.48e-05/0.5755, allocations: 27.98 kB / 1.509 GB, free: 5.152 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/0.5775, allocations: 1.558 MB / 1.51 GB, free: 3.473 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5775, allocations: 0 / 1.51 GB, free: 3.473 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.5797, allocations: 1.061 MB / 1.511 GB, free: 2.391 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00052/0.5802, allocations: 215 kB / 1.512 GB, free: 2.18 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.5804, allocations: 20 kB / 1.512 GB, free: 2.16 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006764/0.581, allocations: 64.06 kB / 1.512 GB, free: 2.098 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.5812, allocations: 88.83 kB / 1.512 GB, free: 2.012 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.777e-05/0.5813, allocations: 35.98 kB / 1.512 GB, free: 1.977 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006851/0.582, allocations: 487 kB / 1.512 GB, free: 1.508 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.582, allocations: 0 / 1.512 GB, free: 1.508 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009794/0.583, allocations: 347 kB / 1.513 GB, free: 1.168 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004443/0.5874, allocations: 2.101 MB / 1.515 GB, free: 15.21 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001971/0.5894, allocations: 0.8116 MB / 1.515 GB, free: 14.39 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.5894, allocations: 4 kB / 1.516 GB, free: 14.39 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.5904, allocations: 0.516 MB / 1.516 GB, free: 13.86 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.5918, allocations: 313.7 kB / 1.516 GB, free: 13.58 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.6032, allocations: 6.496 MB / 1.523 GB, free: 6.922 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007/0.6039, allocations: 1.036 MB / 1.524 GB, free: 5.859 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008917/0.6048, allocations: 279.1 kB / 1.524 GB, free: 5.582 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006252/0.6054, allocations: 407.3 kB / 1.524 GB, free: 5.184 MB / 1.217 GB Notification: Performance of SimCode: time 1.643e-06/0.6054, allocations: 0 / 1.524 GB, free: 5.184 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06594/0.6713, allocations: 23.25 MB / 1.547 GB, free: 14.18 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.54, allocations: 8 kB / 1.547 GB, free: 14.17 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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: 21.380465530999572]