Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001857/0.001857, allocations: 113 kB / 16.46 MB, free: 6.453 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.002248/0.002248, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.523/1.523, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.102/3.102, allocations: 0.505 GB / 0.8066 GB, free: 23.07 MB / 0.6231 GB " [Timeout remaining time 177] 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.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_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.002116/0.002116, allocations: 73.91 kB / 1.172 GB, free: 17.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3338, allocations: 180.2 MB / 1.348 GB, free: 9.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00848/0.3423, allocations: 5 MB / 1.353 GB, free: 4.961 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1761/0.5184, allocations: 154 MB / 1.503 GB, free: 10.34 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.5194, allocations: 19.88 kB / 1.503 GB, free: 10.32 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008522/0.5203, allocations: 202.1 kB / 1.503 GB, free: 10.12 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.5226, allocations: 0.5832 MB / 1.504 GB, free: 9.543 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.525, allocations: 0.8685 MB / 1.505 GB, free: 8.68 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002083/0.5271, allocations: 1.456 MB / 1.506 GB, free: 7.215 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000983/0.5281, allocations: 425.6 kB / 1.507 GB, free: 6.773 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009754/0.5291, allocations: 0.5295 MB / 1.507 GB, free: 6.242 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008864/0.53, allocations: 0.5329 MB / 1.508 GB, free: 5.707 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003466/0.5303, allocations: 120 kB / 1.508 GB, free: 5.59 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.5315, allocations: 0.5074 MB / 1.508 GB, free: 5.082 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004323/0.532, allocations: 311 kB / 1.508 GB, free: 4.777 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008393/0.5328, allocations: 0.5869 MB / 1.509 GB, free: 4.188 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002787/0.5356, allocations: 1.724 MB / 1.511 GB, free: 2.457 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5356, allocations: 0 / 1.511 GB, free: 2.457 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5356, allocations: 0 / 1.511 GB, free: 2.457 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.231e-05/0.5357, allocations: 4 kB / 1.511 GB, free: 2.453 MB / 1.201 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.003677/0.5393, allocations: 1.536 MB / 1.512 GB, free: 0.8633 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.5394, allocations: 15.98 kB / 1.512 GB, free: 0.8477 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002758/0.5397, allocations: 135.6 kB / 1.512 GB, free: 0.707 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.5416, allocations: 252 kB / 1.513 GB, free: 472 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.5433, allocations: 0.798 MB / 1.513 GB, free: 15.62 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.573e-05/0.5434, allocations: 66 kB / 1.513 GB, free: 15.55 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.5435, allocations: 84 kB / 1.514 GB, free: 15.47 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/0.5455, allocations: 0.9495 MB / 1.514 GB, free: 14.48 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.5455, allocations: 4 kB / 1.514 GB, free: 14.48 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.5456, allocations: 32 kB / 1.514 GB, free: 14.45 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.5456, allocations: 23.98 kB / 1.514 GB, free: 14.42 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.5476, allocations: 1.136 MB / 1.516 GB, free: 13.28 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004701/0.5523, allocations: 2.794 MB / 1.518 GB, free: 10.36 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.554, allocations: 0.858 MB / 1.519 GB, free: 9.48 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005941/0.5546, allocations: 300.6 kB / 1.519 GB, free: 9.188 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.547e-05/0.5547, allocations: 32.67 kB / 1.519 GB, free: 9.156 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009894/0.5557, allocations: 0.5198 MB / 1.52 GB, free: 8.617 MB / 1.217 GB Notification: Performance of pre-optimization done (n=85): time 3.346e-06/0.5557, allocations: 0 / 1.52 GB, free: 8.617 MB / 1.217 GB Notification: Performance of matching and sorting (n=85): time 0.003635/0.5593, allocations: 1.259 MB / 1.521 GB, free: 7.332 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.5595, allocations: 196.8 kB / 1.521 GB, free: 7.098 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.5605, allocations: 0.6762 MB / 1.522 GB, free: 6.414 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.342e-05/0.5606, allocations: 41.7 kB / 1.522 GB, free: 6.367 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/0.5609, allocations: 413 kB / 1.523 GB, free: 5.957 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.5612, allocations: 289.6 kB / 1.523 GB, free: 5.672 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/0.5615, allocations: 154.6 kB / 1.523 GB, free: 5.516 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.5617, allocations: 386.8 kB / 1.523 GB, free: 5.129 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005645/0.5622, allocations: 253.9 kB / 1.524 GB, free: 4.879 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006892/0.5629, allocations: 379.4 kB / 1.524 GB, free: 4.48 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.5641, allocations: 0.6172 MB / 1.525 GB, free: 3.848 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5641, allocations: 0 / 1.525 GB, free: 3.848 MB / 1.217 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002105/0.5662, allocations: 0.8413 MB / 1.525 GB, free: 2.996 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.5663, allocations: 11.94 kB / 1.525 GB, free: 2.984 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5663, allocations: 0 / 1.525 GB, free: 2.984 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/0.5669, allocations: 84.89 kB / 1.525 GB, free: 2.898 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.5676, allocations: 159.7 kB / 1.526 GB, free: 2.742 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.5698, allocations: 1.63 MB / 1.527 GB, free: 0.9609 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007628/0.5706, allocations: 91.78 kB / 1.527 GB, free: 0.8711 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-05/0.5707, allocations: 39.91 kB / 1.527 GB, free: 0.832 MB / 1.217 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.0004579/0.5711, allocations: 281.5 kB / 1.528 GB, free: 0.5469 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.5713, allocations: 91.44 kB / 1.528 GB, free: 468 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/0.574, allocations: 1.129 MB / 1.529 GB, free: 15.31 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.574, allocations: 19.88 kB / 1.529 GB, free: 15.29 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.574, allocations: 4 kB / 1.529 GB, free: 15.29 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.574, allocations: 7.969 kB / 1.529 GB, free: 15.28 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003712/0.5777, allocations: 2.036 MB / 1.531 GB, free: 13.19 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.5777, allocations: 0 / 1.531 GB, free: 13.19 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006316/0.5783, allocations: 155.8 kB / 1.531 GB, free: 13.04 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/0.5788, allocations: 72.8 kB / 1.531 GB, free: 12.96 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.846e-05/0.5789, allocations: 31.97 kB / 1.531 GB, free: 12.93 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.5809, allocations: 1.662 MB / 1.533 GB, free: 11.12 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5809, allocations: 4.062 kB / 1.533 GB, free: 11.12 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/0.5832, allocations: 1.065 MB / 1.534 GB, free: 10.04 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004605/0.5836, allocations: 284.1 kB / 1.534 GB, free: 9.738 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.5838, allocations: 23.94 kB / 1.534 GB, free: 9.715 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007655/0.5846, allocations: 63.92 kB / 1.534 GB, free: 9.652 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.5847, allocations: 80.89 kB / 1.534 GB, free: 9.574 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-05/0.5848, allocations: 39.97 kB / 1.534 GB, free: 9.535 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007216/0.5856, allocations: 487 kB / 1.535 GB, free: 9.066 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5856, allocations: 3.938 kB / 1.535 GB, free: 9.062 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001046/0.5866, allocations: 331.1 kB / 1.535 GB, free: 8.738 MB / 1.232 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.004598/0.5912, allocations: 2.109 MB / 1.537 GB, free: 6.777 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001946/0.5931, allocations: 0.8116 MB / 1.538 GB, free: 5.957 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.5932, allocations: 4 kB / 1.538 GB, free: 5.953 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.5943, allocations: 0.5121 MB / 1.538 GB, free: 5.43 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.5957, allocations: 295.2 kB / 1.539 GB, free: 5.16 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.6075, allocations: 6.508 MB / 1.545 GB, free: 14.49 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007304/0.6083, allocations: 1.04 MB / 1.546 GB, free: 13.42 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008594/0.6091, allocations: 279 kB / 1.546 GB, free: 13.14 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006508/0.6098, allocations: 407.2 kB / 1.547 GB, free: 12.75 MB / 1.248 GB Notification: Performance of SimCode: time 8.22e-07/0.6098, allocations: 0 / 1.547 GB, free: 12.75 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06299/0.6728, allocations: 22.68 MB / 1.569 GB, free: 6.371 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.44, allocations: 5.875 kB / 1.569 GB, free: 6.371 MB / 1.264 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.162417629966512]