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.001272/0.001272, 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.001449/0.001449, allocations: 212.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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.824 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.147/3.147, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 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.00262/0.00262, allocations: 71.95 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3443, allocations: 176.1 MB / 1.325 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006756/0.3511, allocations: 4.499 MB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1632/0.5143, allocations: 132.7 MB / 1.459 GB, free: 8.66 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007871/0.5151, allocations: 23.81 kB / 1.459 GB, free: 8.637 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000629/0.5157, allocations: 206.1 kB / 1.459 GB, free: 8.434 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.5176, allocations: 0.572 MB / 1.46 GB, free: 7.863 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.5197, allocations: 0.8776 MB / 1.461 GB, free: 6.992 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001764/0.5215, allocations: 1.456 MB / 1.462 GB, free: 5.531 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007699/0.5223, allocations: 399.1 kB / 1.462 GB, free: 5.117 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008593/0.5231, allocations: 0.5255 MB / 1.463 GB, free: 4.59 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000674/0.5238, allocations: 489.7 kB / 1.463 GB, free: 4.109 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.524, allocations: 124 kB / 1.464 GB, free: 3.988 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.525, allocations: 499.6 kB / 1.464 GB, free: 3.5 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003201/0.5253, allocations: 314.9 kB / 1.464 GB, free: 3.191 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000518/0.5259, allocations: 481.7 kB / 1.465 GB, free: 2.719 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002252/0.5281, allocations: 1.724 MB / 1.467 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5281, allocations: 0 / 1.467 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5281, allocations: 0 / 1.467 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.563e-05/0.5281, allocations: 0 / 1.467 GB, free: 0.9883 MB / 1.154 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.002867/0.531, allocations: 1.468 MB / 1.468 GB, free: 15.48 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.5311, allocations: 12.03 kB / 1.468 GB, free: 15.47 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/0.5312, allocations: 135.5 kB / 1.468 GB, free: 15.33 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/0.5329, allocations: 259.9 kB / 1.468 GB, free: 15.08 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.5342, allocations: 0.7257 MB / 1.469 GB, free: 14.32 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.721e-05/0.5342, allocations: 66 kB / 1.469 GB, free: 14.26 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.5344, allocations: 84 kB / 1.469 GB, free: 14.18 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.5362, allocations: 1.204 MB / 1.47 GB, free: 12.87 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.5362, allocations: 3.938 kB / 1.47 GB, free: 12.87 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.562e-05/0.5363, allocations: 36 kB / 1.47 GB, free: 12.83 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.5363, allocations: 20 kB / 1.47 GB, free: 12.81 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.5382, allocations: 1.089 MB / 1.471 GB, free: 11.72 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004169/0.5424, allocations: 2.255 MB / 1.474 GB, free: 9.398 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.544, allocations: 0.7962 MB / 1.474 GB, free: 8.59 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005649/0.5445, allocations: 286.7 kB / 1.475 GB, free: 8.305 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.19e-05/0.5446, allocations: 28.62 kB / 1.475 GB, free: 8.277 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009901/0.5456, allocations: 0.6164 MB / 1.475 GB, free: 7.621 MB / 1.17 GB Notification: Performance of pre-optimization done (n=85): time 2.665e-06/0.5456, allocations: 4 kB / 1.475 GB, free: 7.617 MB / 1.17 GB Notification: Performance of matching and sorting (n=85): time 0.003332/0.5489, allocations: 1.184 MB / 1.477 GB, free: 6.422 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.549, allocations: 196.9 kB / 1.477 GB, free: 6.188 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009002/0.5499, allocations: 0.6607 MB / 1.477 GB, free: 5.52 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.109e-05/0.55, allocations: 45.69 kB / 1.477 GB, free: 5.469 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.5504, allocations: 421 kB / 1.478 GB, free: 5.051 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/0.5507, allocations: 285.6 kB / 1.478 GB, free: 4.77 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.5509, allocations: 162.6 kB / 1.478 GB, free: 4.605 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.5511, allocations: 386.8 kB / 1.479 GB, free: 4.219 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005332/0.5516, allocations: 253.9 kB / 1.479 GB, free: 3.969 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007241/0.5524, allocations: 0.4999 MB / 1.479 GB, free: 3.41 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.5535, allocations: 0.6172 MB / 1.48 GB, free: 2.777 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.5535, allocations: 0 / 1.48 GB, free: 2.777 MB / 1.17 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001996/0.5555, allocations: 0.8452 MB / 1.481 GB, free: 1.926 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.5555, allocations: 7.938 kB / 1.481 GB, free: 1.918 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5555, allocations: 4.062 kB / 1.481 GB, free: 1.914 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005888/0.5561, allocations: 84.78 kB / 1.481 GB, free: 1.828 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006644/0.5568, allocations: 155.8 kB / 1.481 GB, free: 1.676 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.559, allocations: 1.519 MB / 1.482 GB, free: 36 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007436/0.5597, allocations: 91.5 kB / 1.483 GB, free: 15.95 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.471e-05/0.5598, allocations: 39.92 kB / 1.483 GB, free: 15.91 MB / 1.186 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.0004631/0.5602, allocations: 277.7 kB / 1.483 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.5604, allocations: 91.39 kB / 1.483 GB, free: 15.54 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/0.563, allocations: 1.144 MB / 1.484 GB, free: 14.38 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.563, allocations: 12 kB / 1.484 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.563, allocations: 0 / 1.484 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.563, allocations: 3.984 kB / 1.484 GB, free: 14.36 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003533/0.5666, allocations: 1.884 MB / 1.486 GB, free: 12.43 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.5666, allocations: 0 / 1.486 GB, free: 12.43 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006203/0.5672, allocations: 155.8 kB / 1.486 GB, free: 12.27 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004477/0.5676, allocations: 80.72 kB / 1.486 GB, free: 12.19 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.373e-05/0.5677, allocations: 23.98 kB / 1.486 GB, free: 12.17 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/0.5697, allocations: 1.555 MB / 1.488 GB, free: 10.49 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5697, allocations: 0 / 1.488 GB, free: 10.49 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.5719, allocations: 1.061 MB / 1.489 GB, free: 9.406 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005149/0.5724, allocations: 215 kB / 1.489 GB, free: 9.195 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.5726, allocations: 23.98 kB / 1.489 GB, free: 9.172 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006711/0.5732, allocations: 66.19 kB / 1.489 GB, free: 9.109 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.5734, allocations: 80.84 kB / 1.489 GB, free: 9.031 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.362e-05/0.5735, allocations: 39.97 kB / 1.489 GB, free: 8.992 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006908/0.5742, allocations: 487 kB / 1.49 GB, free: 8.523 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5742, allocations: 0 / 1.49 GB, free: 8.523 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009131/0.5751, allocations: 339.1 kB / 1.49 GB, free: 8.191 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: 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.004429/0.5795, allocations: 2.142 MB / 1.492 GB, free: 6.234 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001798/0.5813, allocations: 0.8118 MB / 1.493 GB, free: 5.41 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5813, allocations: 4 kB / 1.493 GB, free: 5.406 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009825/0.5823, allocations: 0.508 MB / 1.493 GB, free: 4.887 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.5836, allocations: 308.3 kB / 1.494 GB, free: 4.605 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.5946, allocations: 6.5 MB / 1.5 GB, free: 13.95 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.5951, allocations: 453.4 kB / 1.5 GB, free: 13.47 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008439/0.5959, allocations: 275 kB / 1.501 GB, free: 13.2 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006056/0.5965, allocations: 415.2 kB / 1.501 GB, free: 12.79 MB / 1.201 GB Notification: Performance of SimCode: time 7.22e-07/0.5965, allocations: 0 / 1.501 GB, free: 12.79 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0663/0.6628, allocations: 24.24 MB / 1.525 GB, free: 4.875 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.42, allocations: 6.594 kB / 1.525 GB, free: 4.871 MB / 1.217 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 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.mat","/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.216541977133602]