Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7624/0.7624, allocations: 143.8 MB / 159.1 MB, free: 6.516 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.001012/0.001012, allocations: 179.3 kB / 192 MB, free: 6.754 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.336/1.336, allocations: 225.7 MB / 450.4 MB, free: 5.012 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.0007468/0.0007466, allocations: 111.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.001685/0.001685, allocations: 287.5 kB / 0.6025 GB, free: 49.32 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004327/0.0004328, allocations: 17.62 kB / 0.6948 GB, free: 59.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1334, allocations: 82.46 MB / 0.7753 GB, free: 14.4 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005032/0.1385, allocations: 4.237 MB / 0.7794 GB, free: 10.14 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4107/0.5492, allocations: 140.6 MB / 0.9168 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005461/0.5497, allocations: 17.62 kB / 0.9168 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.5502, allocations: 150.7 kB / 0.9169 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.5514, allocations: 476.7 kB / 0.9174 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.553, allocations: 0.8184 MB / 0.9182 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001166/0.5542, allocations: 1.434 MB / 0.9196 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.5554, allocations: 1.1 MB / 0.9207 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005686/0.556, allocations: 436 kB / 0.9211 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004973/0.5565, allocations: 485.3 kB / 0.9215 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.5566, allocations: 28.03 kB / 0.9216 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007366/0.5574, allocations: 351.8 kB / 0.9219 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.5576, allocations: 235.4 kB / 0.9221 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004725/0.5581, allocations: 0.6065 MB / 0.9227 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.5598, allocations: 2.086 MB / 0.9248 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5598, allocations: 0 / 0.9248 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5599, allocations: 1.344 kB / 0.9248 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.553e-05/0.5599, allocations: 0 / 0.9248 GB, free: 11.02 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002377/0.5623, allocations: 1.485 MB / 0.9262 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.5623, allocations: 11.77 kB / 0.9262 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009277/0.5633, allocations: 256.7 kB / 0.9265 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.5644, allocations: 0.8943 MB / 0.9273 GB, free: 9.66 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.5645, allocations: 141.5 kB / 0.9275 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.5647, allocations: 141 kB / 0.9276 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.567, allocations: 1.46 MB / 0.929 GB, free: 9.441 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.567, allocations: 3.938 kB / 0.929 GB, free: 9.438 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.5671, allocations: 62.88 kB / 0.9291 GB, free: 9.438 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/0.5672, allocations: 39.84 kB / 0.9291 GB, free: 9.434 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/0.5696, allocations: 1.485 MB / 0.9306 GB, free: 9.32 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005119/0.5747, allocations: 3.981 MB / 0.9345 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.576, allocations: 0.9073 MB / 0.9354 GB, free: 7.27 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005283/0.5765, allocations: 366.1 kB / 0.9357 GB, free: 7.219 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.033e-05/0.5766, allocations: 44.95 kB / 0.9358 GB, free: 7.211 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008789/0.5775, allocations: 0.5523 MB / 0.9363 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=93): time 2.555e-06/0.5775, allocations: 0 / 0.9363 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of matching and sorting (n=93): time 0.002897/0.5804, allocations: 1.38 MB / 0.9376 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.496e-05/0.5805, allocations: 197 kB / 0.9378 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007924/0.5813, allocations: 0.7565 MB / 0.9386 GB, free: 6.152 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.793e-05/0.5814, allocations: 43.23 kB / 0.9386 GB, free: 6.121 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.5818, allocations: 0.5701 MB / 0.9392 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.582, allocations: 305.1 kB / 0.9395 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.582, allocations: 19.5 kB / 0.9395 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.5822, allocations: 346.6 kB / 0.9398 GB, free: 5.238 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005345/0.5827, allocations: 328.9 kB / 0.9401 GB, free: 5.191 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005954/0.5833, allocations: 434.8 kB / 0.9405 GB, free: 5.078 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.5844, allocations: 0.7711 MB / 0.9413 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5845, allocations: 0 / 0.9413 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001874/0.5863, allocations: 1.026 MB / 0.9423 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5864, allocations: 6.281 kB / 0.9423 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5864, allocations: 1.859 kB / 0.9423 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005439/0.5869, allocations: 89.92 kB / 0.9424 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007635/0.5877, allocations: 196.8 kB / 0.9426 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.5895, allocations: 1.541 MB / 0.9441 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006799/0.5902, allocations: 116.6 kB / 0.9442 GB, free: 3.203 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/0.5903, allocations: 42.09 kB / 0.9442 GB, free: 3.195 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 (111): * Single equations (assignments): 110 * 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.0004284/0.5907, allocations: 322.6 kB / 0.9445 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.5909, allocations: 101.5 kB / 0.9446 GB, free: 3.004 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.5934, allocations: 1.288 MB / 0.9459 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.5934, allocations: 14.91 kB / 0.9459 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.5934, allocations: 0 / 0.9459 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.5934, allocations: 3.984 kB / 0.9459 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003428/0.5969, allocations: 2.5 MB / 0.9483 GB, free: 1.766 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5969, allocations: 0 / 0.9483 GB, free: 1.766 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006683/0.5976, allocations: 179 kB / 0.9485 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004758/0.5981, allocations: 86.61 kB / 0.9486 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.969e-05/0.5981, allocations: 23.45 kB / 0.9486 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.5997, allocations: 1.565 MB / 0.9502 GB, free: 328 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5997, allocations: 2.875 kB / 0.9502 GB, free: 328 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.6016, allocations: 1.125 MB / 0.9513 GB, free: 15.98 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003951/0.6021, allocations: 340.7 kB / 0.9516 GB, free: 15.76 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.6022, allocations: 23.47 kB / 0.9516 GB, free: 15.75 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006408/0.6028, allocations: 74.09 kB / 0.9517 GB, free: 15.73 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.603, allocations: 72.92 kB / 0.9517 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.561e-05/0.6031, allocations: 42.69 kB / 0.9518 GB, free: 15.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006185/0.6037, allocations: 0.551 MB / 0.9523 GB, free: 15.53 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6037, allocations: 0 / 0.9523 GB, free: 15.53 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008807/0.6046, allocations: 407.6 kB / 0.9527 GB, free: 15.43 MB / 0.573 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 (107): * Single equations (assignments): 104 * 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.001306/0.6059, allocations: 0.6834 MB / 0.9534 GB, free: 15.09 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001552/0.6075, allocations: 0.9603 MB / 0.9543 GB, free: 14.84 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6075, allocations: 4.766 kB / 0.9543 GB, free: 14.84 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008677/0.6084, allocations: 0.5777 MB / 0.9549 GB, free: 14.65 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.6095, allocations: 277.8 kB / 0.9551 GB, free: 14.59 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/0.614, allocations: 3.049 MB / 0.9581 GB, free: 12.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007093/0.6148, allocations: 1.167 MB / 0.9593 GB, free: 11.91 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009131/0.6157, allocations: 291.5 kB / 0.9595 GB, free: 11.77 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/0.616, allocations: 130.8 kB / 0.9597 GB, free: 11.74 MB / 0.573 GB Notification: Performance of SimCode: time 2.61e-07/0.616, allocations: 0 / 0.9597 GB, free: 11.74 MB / 0.573 GB Notification: Performance of Templates: time 0.02592/0.6419, allocations: 16.46 MB / 0.9757 GB, free: 1.391 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)