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.001833/0.001833, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002378/0.002378, allocations: 209.9 kB / 22.24 MB, free: 5.121 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.727 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.227/3.227, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.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.002074/0.002074, allocations: 71.83 kB / 1.186 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3524, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007321/0.3598, allocations: 4.502 MB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1662/0.5259, allocations: 132.7 MB / 1.497 GB, free: 4.312 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009142/0.5268, allocations: 23.81 kB / 1.497 GB, free: 4.289 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007933/0.5276, allocations: 214.1 kB / 1.498 GB, free: 4.078 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.5302, allocations: 0.577 MB / 1.498 GB, free: 3.5 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.533, allocations: 0.8771 MB / 1.499 GB, free: 2.629 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002175/0.5352, allocations: 1.452 MB / 1.5 GB, free: 1.172 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.5364, allocations: 402.2 kB / 1.501 GB, free: 0.7539 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.5377, allocations: 0.5334 MB / 1.501 GB, free: 224 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009953/0.5387, allocations: 489.8 kB / 1.502 GB, free: 15.73 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000337/0.539, allocations: 123.9 kB / 1.502 GB, free: 15.61 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.5402, allocations: 495.5 kB / 1.502 GB, free: 15.13 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004264/0.5406, allocations: 307 kB / 1.503 GB, free: 14.83 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007935/0.5414, allocations: 485.7 kB / 1.503 GB, free: 14.36 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002989/0.5444, allocations: 1.732 MB / 1.505 GB, free: 12.62 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.5444, allocations: 3.984 kB / 1.505 GB, free: 12.61 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5444, allocations: 0 / 1.505 GB, free: 12.61 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.267e-05/0.5445, allocations: 4 kB / 1.505 GB, free: 12.61 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.003524/0.548, allocations: 1.458 MB / 1.506 GB, free: 11.12 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.5481, allocations: 12.02 kB / 1.506 GB, free: 11.11 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002231/0.5483, allocations: 139.6 kB / 1.506 GB, free: 10.96 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.55, allocations: 252 kB / 1.507 GB, free: 10.71 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.5516, allocations: 0.7258 MB / 1.507 GB, free: 9.961 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-05/0.5517, allocations: 66 kB / 1.507 GB, free: 9.895 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.5519, allocations: 80 kB / 1.508 GB, free: 9.816 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.5538, allocations: 1.201 MB / 1.509 GB, free: 8.516 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.5538, allocations: 3.938 kB / 1.509 GB, free: 8.512 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.025e-05/0.5539, allocations: 40 kB / 1.509 GB, free: 8.473 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.5539, allocations: 20 kB / 1.509 GB, free: 8.453 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.5558, allocations: 1.085 MB / 1.51 GB, free: 7.367 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004388/0.5602, allocations: 2.267 MB / 1.512 GB, free: 5.035 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.5618, allocations: 0.779 MB / 1.513 GB, free: 4.246 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005758/0.5624, allocations: 290.7 kB / 1.513 GB, free: 3.957 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.768e-05/0.5625, allocations: 24.62 kB / 1.513 GB, free: 3.934 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.5635, allocations: 0.6244 MB / 1.514 GB, free: 3.273 MB / 1.201 GB Notification: Performance of pre-optimization done (n=85): time 2.605e-06/0.5635, allocations: 0 / 1.514 GB, free: 3.273 MB / 1.201 GB Notification: Performance of matching and sorting (n=85): time 0.003467/0.567, allocations: 1.188 MB / 1.515 GB, free: 2.078 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.5671, allocations: 196.9 kB / 1.515 GB, free: 1.844 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.5682, allocations: 0.6646 MB / 1.516 GB, free: 1.168 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.5683, allocations: 41.7 kB / 1.516 GB, free: 1.121 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.5686, allocations: 413.1 kB / 1.516 GB, free: 0.7109 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/0.5689, allocations: 289.5 kB / 1.516 GB, free: 436 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.5692, allocations: 154.6 kB / 1.517 GB, free: 276 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002466/0.5694, allocations: 394.7 kB / 1.517 GB, free: 15.88 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005654/0.57, allocations: 261.9 kB / 1.517 GB, free: 15.62 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007355/0.5707, allocations: 0.4921 MB / 1.518 GB, free: 15.07 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.5719, allocations: 0.6133 MB / 1.518 GB, free: 14.44 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5719, allocations: 0 / 1.518 GB, free: 14.44 MB / 1.217 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002137/0.5741, allocations: 0.8374 MB / 1.519 GB, free: 13.59 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.5741, allocations: 19.86 kB / 1.519 GB, free: 13.57 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.5741, allocations: 0 / 1.519 GB, free: 13.57 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005907/0.5747, allocations: 84.91 kB / 1.519 GB, free: 13.48 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00069/0.5754, allocations: 167.8 kB / 1.519 GB, free: 13.32 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/0.5777, allocations: 1.512 MB / 1.521 GB, free: 11.69 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008526/0.5785, allocations: 97.84 kB / 1.521 GB, free: 11.59 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.496e-05/0.5786, allocations: 39.98 kB / 1.521 GB, free: 11.55 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.0005149/0.5791, allocations: 269.6 kB / 1.521 GB, free: 11.28 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.5793, allocations: 91.44 kB / 1.521 GB, free: 11.19 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002648/0.582, allocations: 1.136 MB / 1.522 GB, free: 10.05 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.582, allocations: 12 kB / 1.522 GB, free: 10.04 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.582, allocations: 3.984 kB / 1.522 GB, free: 10.03 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.582, allocations: 3.984 kB / 1.522 GB, free: 10.03 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/0.5858, allocations: 1.891 MB / 1.524 GB, free: 8.082 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.5858, allocations: 3.984 kB / 1.524 GB, free: 8.078 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006348/0.5864, allocations: 155.8 kB / 1.524 GB, free: 7.926 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004438/0.5868, allocations: 72.78 kB / 1.524 GB, free: 7.852 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/0.5869, allocations: 27.98 kB / 1.524 GB, free: 7.824 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.589, allocations: 1.558 MB / 1.526 GB, free: 6.141 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.589, allocations: 0 / 1.526 GB, free: 6.141 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.5913, allocations: 1.057 MB / 1.527 GB, free: 5.062 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005595/0.5919, allocations: 211.1 kB / 1.527 GB, free: 4.855 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.592, allocations: 20 kB / 1.527 GB, free: 4.836 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006896/0.5927, allocations: 70.27 kB / 1.527 GB, free: 4.77 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.5929, allocations: 88.78 kB / 1.527 GB, free: 4.684 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.442e-05/0.593, allocations: 39.97 kB / 1.527 GB, free: 4.645 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006641/0.5936, allocations: 487 kB / 1.528 GB, free: 4.176 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5936, allocations: 0 / 1.528 GB, free: 4.176 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000937/0.5946, allocations: 331.1 kB / 1.528 GB, free: 3.852 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.004562/0.5991, allocations: 2.161 MB / 1.53 GB, free: 1.867 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00189/0.601, allocations: 0.8038 MB / 1.531 GB, free: 1.055 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.601, allocations: 0 / 1.531 GB, free: 1.055 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.602, allocations: 0.5121 MB / 1.532 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.6034, allocations: 305.1 kB / 1.532 GB, free: 256 kB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.6149, allocations: 6.489 MB / 1.538 GB, free: 9.602 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/0.6155, allocations: 461.3 kB / 1.539 GB, free: 9.121 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009625/0.6164, allocations: 279 kB / 1.539 GB, free: 8.844 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006758/0.6171, allocations: 403.3 kB / 1.539 GB, free: 8.449 MB / 1.232 GB Notification: Performance of SimCode: time 1.763e-06/0.6171, allocations: 0 / 1.539 GB, free: 8.449 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06842/0.6855, allocations: 24.25 MB / 1.563 GB, free: 0.5273 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.67, allocations: 17.5 kB / 1.563 GB, free: 0.5117 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 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.mat","/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.621303929947317]