Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) 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 Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.241/1.241, allocations: 255.9 MB / 271.2 MB, free: 8.883 MB / 218.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.0008964/0.0008965, allocations: 194.8 kB / 330.8 MB, free: 464 kB / 250.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.295/1.295, allocations: 225.7 MB / 0.6016 GB, free: 1.656 MB / 426.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.0007586/0.0007586, allocations: 105.4 kB / 0.709 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002985, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1455, allocations: 109.2 MB / 0.9328 GB, free: 6.223 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.001793/0.1473, allocations: 1.705 MB / 0.9344 GB, free: 4.504 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1484, allocations: 0.8289 MB / 0.9352 GB, free: 3.633 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.1487, allocations: 8 kB / 0.9352 GB, free: 3.625 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.1488, allocations: 23.73 kB / 0.9353 GB, free: 3.602 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 9.961e-05/0.1489, allocations: 23.78 kB / 0.9353 GB, free: 3.578 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.1493, allocations: 139.9 kB / 0.9354 GB, free: 3.441 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.1496, allocations: 363.2 kB / 0.9358 GB, free: 3.086 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.1499, allocations: 215.5 kB / 0.936 GB, free: 2.871 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.15, allocations: 99.56 kB / 0.9361 GB, free: 2.773 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.1502, allocations: 119.4 kB / 0.9362 GB, free: 2.656 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.1502, allocations: 16 kB / 0.9362 GB, free: 2.641 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 6.976e-05/0.1503, allocations: 20 kB / 0.9362 GB, free: 2.621 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.1504, allocations: 55.75 kB / 0.9363 GB, free: 2.566 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 9.956e-05/0.1505, allocations: 148.9 kB / 0.9364 GB, free: 2.414 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.1507, allocations: 375 kB / 0.9368 GB, free: 2.047 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1508, allocations: 4 kB / 0.9368 GB, free: 2.043 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1508, allocations: 0 / 0.9368 GB, free: 2.043 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.1508, allocations: 0 / 0.9368 GB, free: 2.043 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0007359/0.1515, allocations: 0.5367 MB / 0.9373 GB, free: 1.457 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1516, allocations: 13.11 kB / 0.9373 GB, free: 1.445 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.421e-05/0.1516, allocations: 32.66 kB / 0.9373 GB, free: 1.414 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1519, allocations: 279.7 kB / 0.9376 GB, free: 1.102 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.1519, allocations: 25.03 kB / 0.9376 GB, free: 1.074 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.152, allocations: 36.38 kB / 0.9377 GB, free: 1.039 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/0.1525, allocations: 337.2 kB / 0.938 GB, free: 0.6992 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1526, allocations: 0 / 0.938 GB, free: 0.6992 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.1526, allocations: 16 kB / 0.938 GB, free: 0.6836 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1526, allocations: 11.94 kB / 0.938 GB, free: 0.6719 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/0.1531, allocations: 258 kB / 0.9383 GB, free: 428 kB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.1544, allocations: 0.959 MB / 0.9392 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000601/0.155, allocations: 271 kB / 0.9395 GB, free: 15.13 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.1553, allocations: 128.7 kB / 0.9396 GB, free: 15 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1553, allocations: 4 kB / 0.9396 GB, free: 15 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004065/0.1557, allocations: 187.8 kB / 0.9398 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=32): time 1.964e-06/0.1558, allocations: 0 / 0.9398 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=32): time 0.0007831/0.1565, allocations: 360.8 kB / 0.9401 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.1566, allocations: 71.31 kB / 0.9402 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1568, allocations: 211.1 kB / 0.9404 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.1568, allocations: 37.7 kB / 0.9404 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.888e-05/0.1569, allocations: 152.5 kB / 0.9406 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.544e-05/0.157, allocations: 86.92 kB / 0.9406 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.157, allocations: 12 kB / 0.9407 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1572, allocations: 330.8 kB / 0.941 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.1574, allocations: 112.8 kB / 0.9411 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.1577, allocations: 169.5 kB / 0.9412 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.1582, allocations: 270.7 kB / 0.9415 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1582, allocations: 0 / 0.9415 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006547/0.1588, allocations: 378.7 kB / 0.9419 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.1589, allocations: 37.61 kB / 0.9419 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1589, allocations: 4 kB / 0.9419 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1589, allocations: 0 / 0.9419 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.1591, allocations: 47.84 kB / 0.9419 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1591, allocations: 4 kB / 0.9419 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.1594, allocations: 63.78 kB / 0.942 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.1594, allocations: 15.98 kB / 0.942 GB, free: 12.38 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001792/0.1596, allocations: 178.4 kB / 0.9422 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.1596, allocations: 15.81 kB / 0.9422 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005838/0.1602, allocations: 315.2 kB / 0.9425 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1602, allocations: 4 kB / 0.9425 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1602, allocations: 3.938 kB / 0.9425 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1603, allocations: 4 kB / 0.9425 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.1613, allocations: 0.7647 MB / 0.9433 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.1613, allocations: 0 / 0.9433 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.1615, allocations: 35.97 kB / 0.9433 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1615, allocations: 7.938 kB / 0.9433 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.1615, allocations: 4 kB / 0.9433 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1615, allocations: 3.938 kB / 0.9433 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1615, allocations: 4 kB / 0.9433 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/0.1621, allocations: 379.4 kB / 0.9437 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.1621, allocations: 96.77 kB / 0.9438 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.1622, allocations: 8 kB / 0.9438 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.1624, allocations: 43.89 kB / 0.9438 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.1625, allocations: 35.95 kB / 0.9439 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.1625, allocations: 12 kB / 0.9439 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.722e-05/0.1626, allocations: 135.5 kB / 0.944 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.1626, allocations: 0 / 0.944 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002831/0.1629, allocations: 63.84 kB / 0.9441 GB, free: 10.19 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.fire,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001662/0.1631, allocations: 133.4 kB / 0.9442 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006211/0.1637, allocations: 343.5 kB / 0.9445 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.1637, allocations: 8.25 kB / 0.9445 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.164, allocations: 147.8 kB / 0.9447 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.1643, allocations: 31.92 kB / 0.9447 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008196/0.1652, allocations: 0.5427 MB / 0.9452 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.1655, allocations: 0.7603 MB / 0.946 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.1656, allocations: 30.22 kB / 0.946 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/0.1657, allocations: 27.44 kB / 0.946 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of SimCode: time 2.11e-07/0.1657, allocations: 0 / 0.946 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of Templates: time 0.005881/0.1716, allocations: 2.827 MB / 0.9488 GB, free: 5.285 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)