Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7218/0.7218, allocations: 143.8 MB / 159.1 MB, free: 6.477 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.0009495/0.0009496, allocations: 183.4 kB / 192 MB, free: 6.719 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.305/1.305, allocations: 225.7 MB / 450.4 MB, free: 4.992 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.000669/0.000669, allocations: 99.53 kB / 0.5211 GB, free: 1.652 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.001625/0.001625, allocations: 284 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004032, allocations: 13.25 kB / 0.6948 GB, free: 59.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1294, allocations: 82.46 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004552/0.134, allocations: 3.5 MB / 0.7787 GB, free: 10.85 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4276/0.5616, allocations: 140.3 MB / 0.9157 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005675/0.5623, allocations: 18.62 kB / 0.9157 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004308/0.5627, allocations: 135.6 kB / 0.9159 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.564, allocations: 400.2 kB / 0.9163 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.5658, allocations: 0.6834 MB / 0.9169 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00119/0.567, allocations: 1.09 MB / 0.918 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000769/0.5678, allocations: 0.5823 MB / 0.9186 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004887/0.5683, allocations: 294.5 kB / 0.9188 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.5687, allocations: 324.9 kB / 0.9191 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.568e-05/0.5687, allocations: 22.09 kB / 0.9192 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008372/0.5696, allocations: 343.5 kB / 0.9195 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.5698, allocations: 164.2 kB / 0.9197 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004113/0.5702, allocations: 414.4 kB / 0.92 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.5716, allocations: 1.357 MB / 0.9214 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5716, allocations: 3.25 kB / 0.9214 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5716, allocations: 0 / 0.9214 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.5716, allocations: 0 / 0.9214 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001859/0.5735, allocations: 1.109 MB / 0.9225 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.5736, allocations: 8.938 kB / 0.9225 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008355/0.5744, allocations: 190.2 kB / 0.9226 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009454/0.5754, allocations: 0.698 MB / 0.9233 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/0.5754, allocations: 68.19 kB / 0.9234 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.5755, allocations: 74.59 kB / 0.9235 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.5769, allocations: 0.8545 MB / 0.9243 GB, free: 10 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.5769, allocations: 0 / 0.9243 GB, free: 10 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-05/0.577, allocations: 32.25 kB / 0.9243 GB, free: 10 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.577, allocations: 19.53 kB / 0.9243 GB, free: 10 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.5787, allocations: 1.065 MB / 0.9254 GB, free: 9.984 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003575/0.5823, allocations: 2.419 MB / 0.9278 GB, free: 9.172 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.5835, allocations: 0.7971 MB / 0.9285 GB, free: 9.039 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004482/0.584, allocations: 276.4 kB / 0.9288 GB, free: 9.031 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.565e-05/0.5841, allocations: 31.42 kB / 0.9288 GB, free: 9.027 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007334/0.5848, allocations: 420.8 kB / 0.9292 GB, free: 8.953 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=70): time 5.22e-06/0.5848, allocations: 3.984 kB / 0.9292 GB, free: 8.949 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70): time 0.003022/0.5879, allocations: 1.076 MB / 0.9303 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.874e-05/0.588, allocations: 194.3 kB / 0.9305 GB, free: 8.441 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006717/0.5887, allocations: 0.5773 MB / 0.931 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/0.5887, allocations: 38.3 kB / 0.9311 GB, free: 8.195 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.589, allocations: 372 kB / 0.9314 GB, free: 7.98 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.5892, allocations: 232.1 kB / 0.9316 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.5892, allocations: 10.56 kB / 0.9317 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5894, allocations: 383.5 kB / 0.932 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.5898, allocations: 239.5 kB / 0.9322 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00048/0.5903, allocations: 329.2 kB / 0.9326 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008413/0.5911, allocations: 0.5482 MB / 0.9331 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5911, allocations: 0 / 0.9331 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001533/0.5927, allocations: 0.7685 MB / 0.9338 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.5927, allocations: 5.875 kB / 0.9338 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.5927, allocations: 2.844 kB / 0.9339 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005585/0.5933, allocations: 82.23 kB / 0.9339 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/0.5938, allocations: 142.9 kB / 0.9341 GB, free: 6.992 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.5957, allocations: 1.528 MB / 0.9356 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/0.5964, allocations: 86.95 kB / 0.9356 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.35e-05/0.5964, allocations: 34.44 kB / 0.9357 GB, free: 5.57 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (81): * Single equations (assignments): 80 * 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.0004314/0.5969, allocations: 259.6 kB / 0.9359 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.597, allocations: 71.47 kB / 0.936 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.599, allocations: 0.9706 MB / 0.9369 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.599, allocations: 9.094 kB / 0.9369 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.599, allocations: 0 / 0.9369 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.599, allocations: 7.922 kB / 0.937 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/0.602, allocations: 1.831 MB / 0.9387 GB, free: 4.414 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.602, allocations: 5.875 kB / 0.9387 GB, free: 4.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005139/0.6025, allocations: 135.1 kB / 0.9389 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005294/0.603, allocations: 88.39 kB / 0.939 GB, free: 4.348 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.755e-05/0.6031, allocations: 24.3 kB / 0.939 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.6048, allocations: 1.563 MB / 0.9405 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6048, allocations: 0 / 0.9405 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.6064, allocations: 0.898 MB / 0.9414 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/0.6068, allocations: 269 kB / 0.9416 GB, free: 2.473 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.637e-05/0.6069, allocations: 18.53 kB / 0.9417 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005131/0.6074, allocations: 65.39 kB / 0.9417 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.6076, allocations: 61.12 kB / 0.9418 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.807e-05/0.6076, allocations: 29.48 kB / 0.9418 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004673/0.6081, allocations: 417.7 kB / 0.9422 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6081, allocations: 4 kB / 0.9422 GB, free: 2.277 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007881/0.6089, allocations: 283 kB / 0.9425 GB, free: 2.223 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 (81): * Single equations (assignments): 78 * 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.001255/0.6102, allocations: 0.6779 MB / 0.9431 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.6115, allocations: 0.7576 MB / 0.9439 GB, free: 1.648 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6115, allocations: 0 / 0.9439 GB, free: 1.648 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007024/0.6123, allocations: 484.8 kB / 0.9443 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.6133, allocations: 258.7 kB / 0.9446 GB, free: 1.398 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/0.6168, allocations: 2.065 MB / 0.9466 GB, free: 224 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.6173, allocations: 0.9901 MB / 0.9476 GB, free: 15.41 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007583/0.6181, allocations: 252 kB / 0.9478 GB, free: 15.28 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.6183, allocations: 101.2 kB / 0.9479 GB, free: 15.26 MB / 0.573 GB Notification: Performance of SimCode: time 1.644e-06/0.6183, allocations: 4 kB / 0.9479 GB, free: 15.26 MB / 0.573 GB Notification: Performance of Templates: time 0.05364/0.672, allocations: 13.06 MB / 0.9607 GB, free: 8.715 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)