Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.64/1.64, allocations: 291.7 MB / 306.8 MB, free: 7.66 MB / 234.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.001234/0.001234, allocations: 186.8 kB / 375.4 MB, free: 5.121 MB / 298.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.457/1.457, allocations: 225.7 MB / 0.6538 GB, free: 13.62 MB / 490.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.0007873/0.0007873, allocations: 101 kB / 0.7699 GB, free: 50.38 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003532, allocations: 12.53 kB / 0.8956 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5594/0.5598, allocations: 118.1 MB / 1.011 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.001855/0.5617, allocations: 1.703 MB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000935/0.5626, allocations: 0.6647 MB / 1.013 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.5627, allocations: 10.41 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.5628, allocations: 21.64 kB / 1.013 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.163e-05/0.5629, allocations: 27.86 kB / 1.013 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.5632, allocations: 105.2 kB / 1.013 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.5635, allocations: 343.9 kB / 1.014 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/0.5638, allocations: 213.4 kB / 1.014 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.5639, allocations: 98.64 kB / 1.014 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.5641, allocations: 112.1 kB / 1.014 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.5641, allocations: 13.84 kB / 1.014 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.419e-05/0.5642, allocations: 17.19 kB / 1.014 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.108e-05/0.5642, allocations: 55.25 kB / 1.014 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.5643, allocations: 72.48 kB / 1.014 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.5645, allocations: 304.8 kB / 1.015 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.5645, allocations: 0.5625 kB / 1.015 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5645, allocations: 4.594 kB / 1.015 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.5646, allocations: 0 / 1.015 GB, free: 57.33 MB / 0.7136 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.0006868/0.5652, allocations: 0.547 MB / 1.015 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.5653, allocations: 12.88 kB / 1.015 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.184e-05/0.5654, allocations: 32.56 kB / 1.015 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.5656, allocations: 275.4 kB / 1.015 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.5656, allocations: 28.8 kB / 1.015 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/0.5657, allocations: 29.44 kB / 1.015 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.5662, allocations: 343.1 kB / 1.016 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.5662, allocations: 1.406 kB / 1.016 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.5662, allocations: 11.41 kB / 1.016 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.5663, allocations: 5.562 kB / 1.016 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005506/0.5668, allocations: 264.3 kB / 1.016 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.5681, allocations: 0.963 MB / 1.017 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005674/0.5687, allocations: 276.9 kB / 1.017 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.5689, allocations: 124 kB / 1.017 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.569, allocations: 8.297 kB / 1.017 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003495/0.5693, allocations: 184.2 kB / 1.018 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=32): time 1.773e-06/0.5693, allocations: 0 / 1.018 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32): time 0.0007156/0.5701, allocations: 369.8 kB / 1.018 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.5701, allocations: 56.88 kB / 1.018 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.5702, allocations: 202.9 kB / 1.018 GB, free: 55.85 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.5703, allocations: 40.27 kB / 1.018 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/0.5704, allocations: 155.2 kB / 1.018 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.262e-05/0.5704, allocations: 83.78 kB / 1.018 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.525e-05/0.5704, allocations: 7.281 kB / 1.018 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.633e-05/0.5705, allocations: 342.7 kB / 1.019 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.5708, allocations: 109.9 kB / 1.019 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.571, allocations: 171.4 kB / 1.019 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004186/0.5715, allocations: 271.1 kB / 1.019 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5715, allocations: 1.5 kB / 1.019 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006105/0.5721, allocations: 373.2 kB / 1.02 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.5721, allocations: 31.33 kB / 1.02 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5721, allocations: 3.469 kB / 1.02 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.5721, allocations: 3.75 kB / 1.02 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.5723, allocations: 45.39 kB / 1.02 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.5723, allocations: 2.656 kB / 1.02 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.5726, allocations: 62.55 kB / 1.02 GB, free: 55.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.5726, allocations: 20.34 kB / 1.02 GB, free: 55.07 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.5728, allocations: 179.7 kB / 1.02 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.5728, allocations: 25.34 kB / 1.02 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005544/0.5734, allocations: 312 kB / 1.02 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5734, allocations: 3.344 kB / 1.02 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5734, allocations: 0 / 1.02 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5734, allocations: 0 / 1.02 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009122/0.5743, allocations: 0.7697 MB / 1.021 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.5743, allocations: 1.031 kB / 1.021 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.5744, allocations: 29.19 kB / 1.021 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5745, allocations: 2.5 kB / 1.021 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.5745, allocations: 13.53 kB / 1.021 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.5745, allocations: 9.812 kB / 1.021 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5745, allocations: 0 / 1.021 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.575, allocations: 382.6 kB / 1.021 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.575, allocations: 98.19 kB / 1.022 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.5751, allocations: 10.44 kB / 1.022 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.5753, allocations: 38.19 kB / 1.022 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.573e-05/0.5754, allocations: 47.36 kB / 1.022 GB, free: 54.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.5754, allocations: 7.312 kB / 1.022 GB, free: 54.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.988e-05/0.5755, allocations: 132.5 kB / 1.022 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5755, allocations: 0 / 1.022 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000295/0.5758, allocations: 72.53 kB / 1.022 GB, free: 54.18 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001514/0.5759, allocations: 131.2 kB / 1.022 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005578/0.5765, allocations: 339.2 kB / 1.022 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5765, allocations: 3.938 kB / 1.022 GB, free: 54.01 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.5768, allocations: 139.5 kB / 1.022 GB, free: 54.01 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.5771, allocations: 32.25 kB / 1.022 GB, free: 54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/0.5777, allocations: 0.5178 MB / 1.023 GB, free: 53.71 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.5779, allocations: 0.7605 MB / 1.024 GB, free: 53.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001207/0.5781, allocations: 29.53 kB / 1.024 GB, free: 53.01 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.914e-05/0.5781, allocations: 32.23 kB / 1.024 GB, free: 53 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.5781, allocations: 1.688 kB / 1.024 GB, free: 53 MB / 0.7136 GB Notification: Performance of Templates: time 0.005115/0.5833, allocations: 2.716 MB / 1.026 GB, free: 52.89 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)