Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8114/0.8114, allocations: 143.8 MB / 159.1 MB, free: 6.527 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 187.3 kB / 192 MB, free: 6.73 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.7 MB / 450.4 MB, free: 4.996 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008371/0.0008371, allocations: 103.5 kB / 0.5211 GB, free: 1.664 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001623/0.001623, allocations: 280.6 kB / 0.6025 GB, free: 49.3 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003895, allocations: 11 kB / 0.6948 GB, free: 59.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1255, allocations: 82.46 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005049/0.1306, allocations: 3.559 MB / 0.7788 GB, free: 10.79 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4138/0.5445, allocations: 140.3 MB / 0.9158 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004901/0.545, allocations: 18.66 kB / 0.9158 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004487/0.5455, allocations: 126.8 kB / 0.9159 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.5466, allocations: 401.4 kB / 0.9163 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.5482, allocations: 0.6959 MB / 0.917 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.5493, allocations: 1.104 MB / 0.9181 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007565/0.5501, allocations: 0.5801 MB / 0.9187 GB, free: 11.44 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000478/0.5506, allocations: 304 kB / 0.9189 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003907/0.551, allocations: 335.8 kB / 0.9193 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.631e-05/0.5511, allocations: 25.22 kB / 0.9193 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007224/0.5518, allocations: 342.6 kB / 0.9196 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.552, allocations: 173.2 kB / 0.9198 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003995/0.5524, allocations: 413.3 kB / 0.9202 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.5536, allocations: 1.356 MB / 0.9215 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5536, allocations: 0 / 0.9215 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5537, allocations: 3.938 kB / 0.9215 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.5537, allocations: 1.156 kB / 0.9215 GB, free: 11.25 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001776/0.5555, allocations: 1.13 MB / 0.9226 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.5555, allocations: 8.812 kB / 0.9226 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007807/0.5563, allocations: 187.3 kB / 0.9228 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008346/0.5571, allocations: 0.709 MB / 0.9235 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.877e-05/0.5572, allocations: 59.16 kB / 0.9235 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.112e-05/0.5573, allocations: 77.72 kB / 0.9236 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.5586, allocations: 0.8643 MB / 0.9245 GB, free: 9.996 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.5586, allocations: 1.406 kB / 0.9245 GB, free: 9.996 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.888e-05/0.5587, allocations: 35.73 kB / 0.9245 GB, free: 9.992 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.5587, allocations: 19.78 kB / 0.9245 GB, free: 9.992 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.5603, allocations: 1.072 MB / 0.9256 GB, free: 9.977 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003369/0.5637, allocations: 2.419 MB / 0.9279 GB, free: 9.156 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.565, allocations: 0.8018 MB / 0.9287 GB, free: 9.02 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004625/0.5654, allocations: 282.6 kB / 0.929 GB, free: 9.012 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.728e-05/0.5655, allocations: 33.48 kB / 0.929 GB, free: 9.012 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007467/0.5663, allocations: 428.5 kB / 0.9294 GB, free: 8.934 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=73): time 2.194e-06/0.5663, allocations: 0.5312 kB / 0.9294 GB, free: 8.934 MB / 0.5573 GB Notification: Performance of matching and sorting (n=73): time 0.002927/0.5692, allocations: 1.089 MB / 0.9305 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.5693, allocations: 190.4 kB / 0.9307 GB, free: 8.398 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/0.5699, allocations: 0.5835 MB / 0.9312 GB, free: 8.18 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/0.57, allocations: 43.67 kB / 0.9313 GB, free: 8.148 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.5702, allocations: 373 kB / 0.9316 GB, free: 7.934 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.5704, allocations: 248 kB / 0.9319 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.5705, allocations: 12.56 kB / 0.9319 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.5706, allocations: 381 kB / 0.9322 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/0.571, allocations: 241.2 kB / 0.9325 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005102/0.5715, allocations: 336.8 kB / 0.9328 GB, free: 7.273 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008898/0.5724, allocations: 0.5666 MB / 0.9333 GB, free: 7.164 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5725, allocations: 3.938 kB / 0.9334 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001549/0.574, allocations: 0.7879 MB / 0.9341 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.574, allocations: 4.719 kB / 0.9341 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.574, allocations: 3.219 kB / 0.9341 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005602/0.5746, allocations: 84.89 kB / 0.9342 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/0.5752, allocations: 154 kB / 0.9344 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.577, allocations: 1.519 MB / 0.9358 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005622/0.5776, allocations: 92.73 kB / 0.9359 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-05/0.5777, allocations: 29.11 kB / 0.936 GB, free: 5.469 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0003285/0.578, allocations: 266.6 kB / 0.9362 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.5781, allocations: 76.56 kB / 0.9363 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.5802, allocations: 1.005 MB / 0.9373 GB, free: 5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.5802, allocations: 10.84 kB / 0.9373 GB, free: 5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.5802, allocations: 0 / 0.9373 GB, free: 5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.5802, allocations: 3.984 kB / 0.9373 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.5829, allocations: 1.87 MB / 0.9391 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5829, allocations: 0 / 0.9391 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/0.5834, allocations: 146.2 kB / 0.9392 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004724/0.5839, allocations: 87.27 kB / 0.9393 GB, free: 4.211 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.923e-05/0.584, allocations: 28.45 kB / 0.9394 GB, free: 4.203 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.5856, allocations: 1.549 MB / 0.9409 GB, free: 2.824 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5856, allocations: 0 / 0.9409 GB, free: 2.824 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.5871, allocations: 0.9209 MB / 0.9418 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.5874, allocations: 263 kB / 0.942 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-05/0.5876, allocations: 20.97 kB / 0.942 GB, free: 2.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.5881, allocations: 70.91 kB / 0.9421 GB, free: 2.301 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.5882, allocations: 60.16 kB / 0.9422 GB, free: 2.277 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/0.5883, allocations: 40.05 kB / 0.9422 GB, free: 2.266 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004112/0.5887, allocations: 427.4 kB / 0.9426 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5887, allocations: 1.75 kB / 0.9426 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007668/0.5895, allocations: 287.3 kB / 0.9429 GB, free: 2.059 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001252/0.5907, allocations: 0.6705 MB / 0.9435 GB, free: 1.73 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.592, allocations: 0.7656 MB / 0.9443 GB, free: 1.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.592, allocations: 256 / 0.9443 GB, free: 1.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007157/0.5928, allocations: 0.4899 MB / 0.9448 GB, free: 1.32 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.5938, allocations: 262.7 kB / 0.945 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.5971, allocations: 2.115 MB / 0.9471 GB, free: 28 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/0.5976, allocations: 1.005 MB / 0.9481 GB, free: 15.21 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007172/0.5984, allocations: 251.8 kB / 0.9483 GB, free: 15.09 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.5986, allocations: 97.11 kB / 0.9484 GB, free: 15.07 MB / 0.573 GB Notification: Performance of SimCode: time 9.11e-07/0.5986, allocations: 0 / 0.9484 GB, free: 15.07 MB / 0.573 GB Notification: Performance of Templates: time 0.01987/0.6185, allocations: 13.23 MB / 0.9613 GB, free: 8.441 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)