Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.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) 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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.68/1.68, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.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.001464/0.001464, allocations: 179.5 kB / 393.1 MB, free: 4.082 MB / 314.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.323/1.323, allocations: 225.7 MB / 0.6743 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007988/0.0007988, allocations: 86.7 kB / 0.7935 GB, free: 39.95 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003375, allocations: 8 kB / 0.9224 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5268/0.5271, allocations: 121.3 MB / 1.041 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002215/0.5294, allocations: 1.707 MB / 1.043 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.5305, allocations: 0.8237 MB / 1.043 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.5307, allocations: 8.594 kB / 1.043 GB, free: 56.06 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.5308, allocations: 20.02 kB / 1.043 GB, free: 56.05 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.5309, allocations: 27.94 kB / 1.043 GB, free: 56.03 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004619/0.5314, allocations: 135.9 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004874/0.5319, allocations: 371.5 kB / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004171/0.5323, allocations: 206.9 kB / 1.044 GB, free: 55.72 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.5325, allocations: 101 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.5327, allocations: 113.9 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.5327, allocations: 19.31 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.659e-05/0.5328, allocations: 22.95 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.731e-05/0.5329, allocations: 50.61 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.533, allocations: 149.9 kB / 1.045 GB, free: 55.47 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004069/0.5334, allocations: 374.5 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.5335, allocations: 0 / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5335, allocations: 0 / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.5335, allocations: 0.625 kB / 1.045 GB, free: 55.36 MB / 0.698 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.0009047/0.5344, allocations: 0.5422 MB / 1.045 GB, free: 54.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.5344, allocations: 10.19 kB / 1.045 GB, free: 54.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.482e-05/0.5345, allocations: 32.16 kB / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.5349, allocations: 280.7 kB / 1.046 GB, free: 54.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.773e-05/0.5349, allocations: 31.34 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.015e-05/0.535, allocations: 31.67 kB / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006921/0.5357, allocations: 344.4 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.5357, allocations: 3.938 kB / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/0.5358, allocations: 12.66 kB / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.5358, allocations: 6.312 kB / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/0.5364, allocations: 259.1 kB / 1.046 GB, free: 54.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.5378, allocations: 0.955 MB / 1.047 GB, free: 53.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006656/0.5385, allocations: 283.3 kB / 1.048 GB, free: 53.58 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.5388, allocations: 121.8 kB / 1.048 GB, free: 53.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.5388, allocations: 7.984 kB / 1.048 GB, free: 53.53 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004395/0.5393, allocations: 185 kB / 1.048 GB, free: 53.44 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 1.813e-06/0.5393, allocations: 0 / 1.048 GB, free: 53.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=32): time 0.0008144/0.5401, allocations: 372.1 kB / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.5401, allocations: 59.38 kB / 1.048 GB, free: 53.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.5403, allocations: 197.8 kB / 1.048 GB, free: 53.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.5403, allocations: 43.27 kB / 1.049 GB, free: 53.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.778e-05/0.5404, allocations: 156.3 kB / 1.049 GB, free: 52.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.625e-05/0.5405, allocations: 78.16 kB / 1.049 GB, free: 52.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/0.5405, allocations: 8.75 kB / 1.049 GB, free: 52.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.147e-05/0.5406, allocations: 341.8 kB / 1.049 GB, free: 52.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.5408, allocations: 107.4 kB / 1.049 GB, free: 52.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.5411, allocations: 178.5 kB / 1.049 GB, free: 52.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004381/0.5416, allocations: 273 kB / 1.05 GB, free: 52.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5416, allocations: 0 / 1.05 GB, free: 52.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006244/0.5422, allocations: 372.1 kB / 1.05 GB, free: 52.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.5423, allocations: 32.17 kB / 1.05 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5423, allocations: 2.5 kB / 1.05 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.5423, allocations: 4.156 kB / 1.05 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.5425, allocations: 50.44 kB / 1.05 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.5425, allocations: 0.75 kB / 1.05 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.5428, allocations: 61.55 kB / 1.05 GB, free: 51.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.5428, allocations: 19.17 kB / 1.05 GB, free: 51.98 MB / 0.698 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.0001437/0.543, allocations: 177.4 kB / 1.05 GB, free: 51.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.543, allocations: 24.27 kB / 1.05 GB, free: 51.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005638/0.5436, allocations: 306.4 kB / 1.051 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.5436, allocations: 3.938 kB / 1.051 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5436, allocations: 0 / 1.051 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.5436, allocations: 4.672 kB / 1.051 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.5446, allocations: 0.7632 MB / 1.051 GB, free: 51.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.5446, allocations: 0 / 1.051 GB, free: 51.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.5448, allocations: 41.94 kB / 1.051 GB, free: 51.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5448, allocations: 0 / 1.051 GB, free: 51.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.5448, allocations: 7.625 kB / 1.051 GB, free: 51.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.5448, allocations: 6.969 kB / 1.051 GB, free: 51.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5448, allocations: 0 / 1.051 GB, free: 51.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/0.5453, allocations: 380.2 kB / 1.052 GB, free: 50.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.5454, allocations: 106.9 kB / 1.052 GB, free: 50.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.5454, allocations: 11.12 kB / 1.052 GB, free: 50.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.5456, allocations: 42.38 kB / 1.052 GB, free: 50.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.5458, allocations: 39.14 kB / 1.052 GB, free: 50.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.5458, allocations: 7.266 kB / 1.052 GB, free: 50.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.951e-05/0.5459, allocations: 132.3 kB / 1.052 GB, free: 50.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5459, allocations: 0 / 1.052 GB, free: 50.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000288/0.5462, allocations: 68.31 kB / 1.052 GB, free: 50.71 MB / 0.698 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.000147/0.5463, allocations: 137.2 kB / 1.052 GB, free: 50.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005887/0.5469, allocations: 347.6 kB / 1.053 GB, free: 50.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5469, allocations: 0 / 1.053 GB, free: 50.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.5472, allocations: 142 kB / 1.053 GB, free: 50.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.5475, allocations: 32.3 kB / 1.053 GB, free: 50.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007672/0.5483, allocations: 0.5461 MB / 1.053 GB, free: 50.04 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.5485, allocations: 0.7578 MB / 1.054 GB, free: 49.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.5486, allocations: 29.03 kB / 1.054 GB, free: 49.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.133e-05/0.5487, allocations: 29.3 kB / 1.054 GB, free: 49.32 MB / 0.698 GB Notification: Performance of SimCode: time 3.6e-07/0.5487, allocations: 4 kB / 1.054 GB, free: 49.32 MB / 0.698 GB Notification: Performance of Templates: time 0.006327/0.5551, allocations: 2.814 MB / 1.057 GB, free: 49.14 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)