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.001391/0.001391, 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.001574/0.001574, allocations: 209.8 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.785 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.156/3.156, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.002013/0.002013, allocations: 67.53 kB / 1.186 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3499, allocations: 181.9 MB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006877/0.3568, allocations: 4.491 MB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1703/0.5271, allocations: 132.7 MB / 1.497 GB, free: 4.465 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000842/0.5279, allocations: 23.81 kB / 1.497 GB, free: 4.441 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006355/0.5286, allocations: 206.1 kB / 1.498 GB, free: 4.238 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.5304, allocations: 0.5721 MB / 1.498 GB, free: 3.668 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.5325, allocations: 0.8807 MB / 1.499 GB, free: 2.793 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001774/0.5343, allocations: 1.456 MB / 1.5 GB, free: 1.332 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000749/0.535, allocations: 402.1 kB / 1.501 GB, free: 0.9141 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007774/0.5358, allocations: 0.5256 MB / 1.501 GB, free: 396 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006992/0.5365, allocations: 489.6 kB / 1.502 GB, free: 15.91 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001977/0.5367, allocations: 124 kB / 1.502 GB, free: 15.79 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.5377, allocations: 491.7 kB / 1.502 GB, free: 15.3 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003111/0.538, allocations: 314.9 kB / 1.503 GB, free: 15 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005245/0.5386, allocations: 481.7 kB / 1.503 GB, free: 14.52 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002246/0.5408, allocations: 1.732 MB / 1.505 GB, free: 12.79 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5408, allocations: 0 / 1.505 GB, free: 12.79 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5408, allocations: 0 / 1.505 GB, free: 12.79 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.124e-05/0.5408, allocations: 4 kB / 1.505 GB, free: 12.78 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.002843/0.5437, allocations: 1.464 MB / 1.506 GB, free: 11.28 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.5437, allocations: 8.031 kB / 1.506 GB, free: 11.27 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001649/0.5439, allocations: 143.6 kB / 1.506 GB, free: 11.12 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.5456, allocations: 248 kB / 1.507 GB, free: 10.88 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.547, allocations: 0.7335 MB / 1.507 GB, free: 10.12 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.027e-05/0.5471, allocations: 66 kB / 1.507 GB, free: 10.05 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.5472, allocations: 84 kB / 1.508 GB, free: 9.973 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.5491, allocations: 1.197 MB / 1.509 GB, free: 8.676 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.5492, allocations: 3.938 kB / 1.509 GB, free: 8.672 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-05/0.5492, allocations: 36 kB / 1.509 GB, free: 8.637 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.5493, allocations: 20 kB / 1.509 GB, free: 8.617 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.5511, allocations: 1.089 MB / 1.51 GB, free: 7.527 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004241/0.5554, allocations: 2.267 MB / 1.512 GB, free: 5.199 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.557, allocations: 0.7829 MB / 1.513 GB, free: 4.406 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005611/0.5576, allocations: 282.7 kB / 1.513 GB, free: 4.125 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.023e-05/0.5576, allocations: 28.62 kB / 1.513 GB, free: 4.098 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.5587, allocations: 0.6181 MB / 1.514 GB, free: 3.441 MB / 1.201 GB Notification: Performance of pre-optimization done (n=85): time 2.625e-06/0.5587, allocations: 0 / 1.514 GB, free: 3.441 MB / 1.201 GB Notification: Performance of matching and sorting (n=85): time 0.003363/0.562, allocations: 1.188 MB / 1.515 GB, free: 2.246 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.5622, allocations: 200.8 kB / 1.515 GB, free: 2.008 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009633/0.5631, allocations: 0.6646 MB / 1.516 GB, free: 1.332 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.668e-05/0.5632, allocations: 49.7 kB / 1.516 GB, free: 1.277 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/0.5636, allocations: 409.1 kB / 1.516 GB, free: 0.8711 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/0.564, allocations: 289.6 kB / 1.516 GB, free: 0.5859 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/0.5642, allocations: 158.6 kB / 1.517 GB, free: 436 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002717/0.5645, allocations: 386.8 kB / 1.517 GB, free: 40 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005737/0.5651, allocations: 253.9 kB / 1.517 GB, free: 15.79 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007402/0.5658, allocations: 0.496 MB / 1.518 GB, free: 15.23 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.567, allocations: 0.6133 MB / 1.518 GB, free: 14.6 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.567, allocations: 4 kB / 1.518 GB, free: 14.6 MB / 1.217 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002107/0.5691, allocations: 0.8413 MB / 1.519 GB, free: 13.75 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.5691, allocations: 10.28 kB / 1.519 GB, free: 13.74 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5691, allocations: 4 kB / 1.519 GB, free: 13.73 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005872/0.5697, allocations: 88.83 kB / 1.519 GB, free: 13.64 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/0.5704, allocations: 155.8 kB / 1.519 GB, free: 13.49 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/0.5728, allocations: 1.515 MB / 1.521 GB, free: 11.86 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000751/0.5735, allocations: 105.5 kB / 1.521 GB, free: 11.75 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.307e-05/0.5736, allocations: 39.84 kB / 1.521 GB, free: 11.71 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.0004803/0.5741, allocations: 265.6 kB / 1.521 GB, free: 11.45 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.5743, allocations: 87.44 kB / 1.521 GB, free: 11.36 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/0.5768, allocations: 1.148 MB / 1.522 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.5769, allocations: 12 kB / 1.522 GB, free: 10.19 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5769, allocations: 0 / 1.522 GB, free: 10.19 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.5769, allocations: 7.969 kB / 1.522 GB, free: 10.18 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003925/0.5808, allocations: 1.903 MB / 1.524 GB, free: 8.23 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5808, allocations: 0 / 1.524 GB, free: 8.23 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006123/0.5814, allocations: 151.8 kB / 1.524 GB, free: 8.082 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004565/0.5819, allocations: 68.78 kB / 1.524 GB, free: 8.012 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.957e-05/0.5819, allocations: 35.91 kB / 1.525 GB, free: 7.977 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.584, allocations: 1.547 MB / 1.526 GB, free: 6.305 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.584, allocations: 0 / 1.526 GB, free: 6.305 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.5864, allocations: 1.065 MB / 1.527 GB, free: 5.219 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005901/0.587, allocations: 207.1 kB / 1.527 GB, free: 5.016 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.5871, allocations: 27.98 kB / 1.527 GB, free: 4.988 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000696/0.5878, allocations: 71.92 kB / 1.527 GB, free: 4.918 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.588, allocations: 76.86 kB / 1.527 GB, free: 4.844 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.574e-05/0.5881, allocations: 39.97 kB / 1.527 GB, free: 4.805 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006765/0.5887, allocations: 487 kB / 1.528 GB, free: 4.336 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.5887, allocations: 0 / 1.528 GB, free: 4.336 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009338/0.5897, allocations: 339.1 kB / 1.528 GB, free: 4.004 MB / 1.217 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.004586/0.5943, allocations: 2.141 MB / 1.53 GB, free: 2.039 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001992/0.5962, allocations: 0.808 MB / 1.531 GB, free: 1.223 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.5963, allocations: 4 kB / 1.531 GB, free: 1.219 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.5973, allocations: 0.5119 MB / 1.532 GB, free: 0.6953 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.5987, allocations: 304.2 kB / 1.532 GB, free: 428 kB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.6102, allocations: 6.505 MB / 1.538 GB, free: 9.758 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.6107, allocations: 449.4 kB / 1.539 GB, free: 9.289 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009187/0.6116, allocations: 271 kB / 1.539 GB, free: 9.02 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006256/0.6123, allocations: 415.2 kB / 1.539 GB, free: 8.613 MB / 1.232 GB Notification: Performance of SimCode: time 7.42e-07/0.6123, allocations: 0 / 1.539 GB, free: 8.613 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0675/0.6798, allocations: 24.24 MB / 1.563 GB, free: 0.6953 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.61, allocations: 11.92 kB / 1.563 GB, free: 0.6836 MB / 1.248 GB " [Timeout remaining time 285] (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: 21.415176298934966]