Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01433/0.01434, allocations: 108.2 kB / 15.06 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001699/0.001699, allocations: 180.1 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.881/1.881, allocations: 194.6 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.348/2.348, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.0004702, allocations: 8 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6347/0.6352, allocations: 98.7 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005192/0.6405, allocations: 3.674 MB / 0.6869 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.2673/0.9079, allocations: 127.4 MB / 0.8113 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008337/0.9087, allocations: 11.94 kB / 0.8113 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.9091, allocations: 71.34 kB / 0.8114 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.9108, allocations: 442.7 kB / 0.8118 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.9129, allocations: 0.5805 MB / 0.8124 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001553/0.9145, allocations: 0.7941 MB / 0.8132 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.9156, allocations: 0.6486 MB / 0.8138 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006435/0.9163, allocations: 358.4 kB / 0.8141 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005589/0.9168, allocations: 354 kB / 0.8145 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.917, allocations: 24 kB / 0.8145 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008535/0.9178, allocations: 279.6 kB / 0.8148 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002798/0.9181, allocations: 191.2 kB / 0.8149 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.9184, allocations: 217 kB / 0.8151 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.9202, allocations: 1.264 MB / 0.8164 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.294e-06/0.9202, allocations: 0 / 0.8164 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.157e-06/0.9202, allocations: 0 / 0.8164 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.9202, allocations: 0 / 0.8164 GB, free: 5.801 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.002641/0.9229, allocations: 1.338 MB / 0.8177 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.9229, allocations: 8.031 kB / 0.8177 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/0.9254, allocations: 342 kB / 0.818 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.9269, allocations: 0.7227 MB / 0.8187 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.954e-05/0.927, allocations: 82.22 kB / 0.8188 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/0.9273, allocations: 108 kB / 0.8189 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002911/0.9302, allocations: 1.162 MB / 0.82 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.9302, allocations: 0 / 0.82 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/0.9304, allocations: 48 kB / 0.8201 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/0.9304, allocations: 24 kB / 0.8201 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00359/0.934, allocations: 1.362 MB / 0.8214 GB, free: 440 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007336/0.9414, allocations: 3.038 MB / 0.8244 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/0.9444, allocations: 0.9172 MB / 0.8253 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008497/0.9453, allocations: 466.2 kB / 0.8257 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/0.9468, allocations: 0.5128 MB / 0.8263 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=78): time 4.382e-06/0.9468, allocations: 3.938 kB / 0.8263 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=78): time 0.004859/0.9517, allocations: 1.3 MB / 0.8275 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.9518, allocations: 166.9 kB / 0.8277 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.9529, allocations: 0.6058 MB / 0.8283 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001634/0.9531, allocations: 45.7 kB / 0.8283 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004937/0.9536, allocations: 463.8 kB / 0.8288 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/0.954, allocations: 260.2 kB / 0.829 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.684e-05/0.9541, allocations: 12 kB / 0.829 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002388/0.9543, allocations: 382.8 kB / 0.8294 GB, free: 8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.9554, allocations: 301.8 kB / 0.8297 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.9565, allocations: 401.6 kB / 0.8301 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.9577, allocations: 394.3 kB / 0.8304 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.054e-06/0.9577, allocations: 0 / 0.8304 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003298/0.961, allocations: 1.028 MB / 0.8314 GB, free: 5.844 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.141e-05/0.9611, allocations: 63.39 kB / 0.8315 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.045e-06/0.9611, allocations: 0 / 0.8315 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007097/0.9618, allocations: 84.88 kB / 0.8316 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.963, allocations: 167.8 kB / 0.8317 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/0.9656, allocations: 1.532 MB / 0.8332 GB, free: 3.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.9666, allocations: 100.8 kB / 0.8333 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.9668, allocations: 35.97 kB / 0.8334 GB, free: 3.711 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006561/0.9674, allocations: 271.3 kB / 0.8336 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.9676, allocations: 79.06 kB / 0.8337 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/0.9716, allocations: 1.136 MB / 0.8348 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.9716, allocations: 12 kB / 0.8348 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.487e-06/0.9717, allocations: 0 / 0.8348 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.9717, allocations: 7.938 kB / 0.8348 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.9734, allocations: 0.962 MB / 0.8358 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.118e-06/0.9734, allocations: 3.984 kB / 0.8358 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.9745, allocations: 163.8 kB / 0.8359 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006321/0.9751, allocations: 88.7 kB / 0.836 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.9753, allocations: 31.94 kB / 0.836 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/0.9778, allocations: 1.544 MB / 0.8375 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9779, allocations: 0 / 0.8375 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003287/0.9812, allocations: 0.9782 MB / 0.8385 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006235/0.9818, allocations: 295.7 kB / 0.8388 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.982, allocations: 23.98 kB / 0.8388 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008317/0.9829, allocations: 71.92 kB / 0.8389 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.983, allocations: 60.92 kB / 0.8389 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.9832, allocations: 35.97 kB / 0.839 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007916/0.984, allocations: 443 kB / 0.8394 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.94e-07/0.984, allocations: 0 / 0.8394 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001181/0.9852, allocations: 330.9 kB / 0.8397 GB, free: 12.96 MB / 0.6667 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.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002034/0.9872, allocations: 0.6183 MB / 0.8403 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002932/0.9902, allocations: 0.9904 MB / 0.8413 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.06e-06/0.9902, allocations: 0 / 0.8413 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.9918, allocations: 0.5547 MB / 0.8418 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.9929, allocations: 201.2 kB / 0.842 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00602/0.9989, allocations: 2.392 MB / 0.8443 GB, free: 8.32 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009298/0.9999, allocations: 1.073 MB / 0.8454 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001539/1.001, allocations: 261.9 kB / 0.8456 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/1.002, allocations: 111.3 kB / 0.8458 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of SimCode: time 2.072e-06/1.002, allocations: 0 / 0.8458 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of Templates: time 0.03414/1.036, allocations: 12.96 MB / 0.8584 GB, free: 10.02 MB / 0.6823 GB