Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7292/0.7292, allocations: 143.8 MB / 159.1 MB, free: 6.508 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.0009174/0.0009174, allocations: 186.5 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.33/1.33, allocations: 225.7 MB / 450.4 MB, free: 4.926 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.0007494/0.0007494, allocations: 123.1 kB / 0.5211 GB, free: 1.59 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.001638/0.001638, allocations: 283.6 kB / 0.6025 GB, free: 49.27 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004069, allocations: 14.12 kB / 0.6948 GB, free: 59.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1302, allocations: 82.46 MB / 0.7753 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004567/0.1348, allocations: 3.87 MB / 0.7791 GB, free: 10.46 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.3945/0.5293, allocations: 140.5 MB / 0.9162 GB, free: 12 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007837/0.5302, allocations: 16.16 kB / 0.9163 GB, free: 12 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.5307, allocations: 147.8 kB / 0.9164 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.532, allocations: 423 kB / 0.9168 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.5338, allocations: 0.7118 MB / 0.9175 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001265/0.535, allocations: 1.22 MB / 0.9187 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.5362, allocations: 0.8791 MB / 0.9195 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006531/0.5369, allocations: 349.5 kB / 0.9199 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004874/0.5374, allocations: 396.6 kB / 0.9203 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.916e-05/0.5375, allocations: 23.97 kB / 0.9203 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007457/0.5382, allocations: 347.4 kB / 0.9206 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.5384, allocations: 194.8 kB / 0.9208 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004037/0.5388, allocations: 0.4999 MB / 0.9213 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.5402, allocations: 1.664 MB / 0.9229 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.5403, allocations: 3.438 kB / 0.9229 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5403, allocations: 0 / 0.9229 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.5403, allocations: 0 / 0.9229 GB, free: 11.16 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.001945/0.5422, allocations: 1.324 MB / 0.9242 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.5423, allocations: 13.69 kB / 0.9242 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008228/0.5431, allocations: 225.1 kB / 0.9244 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009729/0.5441, allocations: 0.8102 MB / 0.9252 GB, free: 9.922 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-05/0.5442, allocations: 90.52 kB / 0.9253 GB, free: 9.914 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.5443, allocations: 110.2 kB / 0.9254 GB, free: 9.914 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.5461, allocations: 1.127 MB / 0.9265 GB, free: 9.73 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.5461, allocations: 5.281 kB / 0.9265 GB, free: 9.727 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.364e-05/0.5462, allocations: 50.48 kB / 0.9266 GB, free: 9.727 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.5462, allocations: 27.44 kB / 0.9266 GB, free: 9.727 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.548, allocations: 1.236 MB / 0.9278 GB, free: 9.703 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004208/0.5523, allocations: 3.044 MB / 0.9308 GB, free: 8.5 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.5535, allocations: 0.7823 MB / 0.9315 GB, free: 8.367 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004365/0.554, allocations: 295.5 kB / 0.9318 GB, free: 8.324 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.674e-05/0.554, allocations: 28.12 kB / 0.9318 GB, free: 8.32 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007222/0.5548, allocations: 451.6 kB / 0.9323 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=78): time 2.134e-06/0.5548, allocations: 3.312 kB / 0.9323 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of matching and sorting (n=78): time 0.002614/0.5574, allocations: 1.143 MB / 0.9334 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.183e-05/0.5575, allocations: 191.2 kB / 0.9336 GB, free: 7.574 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007029/0.5582, allocations: 0.6837 MB / 0.9342 GB, free: 7.348 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.5583, allocations: 42.17 kB / 0.9343 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/0.5586, allocations: 0.4965 MB / 0.9348 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.5588, allocations: 257 kB / 0.935 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.5588, allocations: 11.44 kB / 0.935 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.559, allocations: 395.1 kB / 0.9354 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/0.5594, allocations: 265.8 kB / 0.9357 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.5599, allocations: 349.1 kB / 0.936 GB, free: 6.363 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009948/0.561, allocations: 0.6072 MB / 0.9366 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.561, allocations: 3.938 kB / 0.9366 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001614/0.5626, allocations: 0.8443 MB / 0.9374 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5626, allocations: 5.062 kB / 0.9374 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.5626, allocations: 3.594 kB / 0.9374 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005615/0.5632, allocations: 83.36 kB / 0.9375 GB, free: 6.016 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/0.5638, allocations: 161.2 kB / 0.9377 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.5657, allocations: 1.528 MB / 0.9391 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000609/0.5663, allocations: 91.77 kB / 0.9392 GB, free: 4.555 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.471e-05/0.5664, allocations: 38.84 kB / 0.9393 GB, free: 4.547 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 (92): * Single equations (assignments): 91 * 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.0003492/0.5667, allocations: 279.5 kB / 0.9395 GB, free: 4.414 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.5668, allocations: 89.91 kB / 0.9396 GB, free: 4.367 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/0.5689, allocations: 1.037 MB / 0.9406 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.5689, allocations: 8.031 kB / 0.9406 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.5689, allocations: 0 / 0.9406 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.5689, allocations: 8.5 kB / 0.9407 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009755/0.5699, allocations: 0.9772 MB / 0.9416 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5699, allocations: 3.938 kB / 0.9416 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/0.5705, allocations: 155 kB / 0.9418 GB, free: 3.598 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004764/0.571, allocations: 86.2 kB / 0.9418 GB, free: 3.562 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.571, allocations: 20.14 kB / 0.9419 GB, free: 3.559 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/0.5727, allocations: 1.54 MB / 0.9434 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5727, allocations: 3.188 kB / 0.9434 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.5742, allocations: 0.8933 MB / 0.9442 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/0.5746, allocations: 282.9 kB / 0.9445 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.5747, allocations: 24.47 kB / 0.9445 GB, free: 1.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005214/0.5752, allocations: 70.16 kB / 0.9446 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.5753, allocations: 62.78 kB / 0.9447 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.909e-05/0.5754, allocations: 33.23 kB / 0.9447 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005112/0.5759, allocations: 490.6 kB / 0.9452 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5759, allocations: 0 / 0.9452 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007525/0.5767, allocations: 343.7 kB / 0.9455 GB, free: 1.438 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.001226/0.5779, allocations: 0.6757 MB / 0.9461 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001382/0.5793, allocations: 0.8088 MB / 0.9469 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5793, allocations: 0 / 0.9469 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007735/0.5801, allocations: 0.5043 MB / 0.9474 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.5812, allocations: 267.1 kB / 0.9477 GB, free: 0.6172 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/0.585, allocations: 2.558 MB / 0.9502 GB, free: 15.12 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.5856, allocations: 1.088 MB / 0.9512 GB, free: 14.26 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008066/0.5864, allocations: 266.4 kB / 0.9515 GB, free: 14.12 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.5866, allocations: 102.9 kB / 0.9516 GB, free: 14.11 MB / 0.573 GB Notification: Performance of SimCode: time 2.51e-07/0.5866, allocations: 3.938 kB / 0.9516 GB, free: 14.1 MB / 0.573 GB Notification: Performance of Templates: time 0.02105/0.6077, allocations: 13.9 MB / 0.9652 GB, free: 7.156 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)