Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 109 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.507/2.507, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.012, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003046/1.016, allocations: 2.012 MB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001128/1.017, allocations: 0.6858 MB / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/1.017, allocations: 7.938 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000138/1.017, allocations: 31.61 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/1.017, allocations: 39.66 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/1.018, allocations: 163.7 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004296/1.018, allocations: 407.2 kB / 1.171 GB, free: 500 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/1.018, allocations: 243.9 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/1.018, allocations: 135.5 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/1.019, allocations: 151.4 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.75e-05/1.019, allocations: 44 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.695e-05/1.019, allocations: 44 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.913e-05/1.019, allocations: 83.8 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001475/1.019, allocations: 147.3 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004242/1.02, allocations: 438.4 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.02, allocations: 7.875 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.513e-06/1.02, allocations: 0 / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.394e-06/1.02, allocations: 0 / 1.172 GB, free: 15.22 MB / 0.9044 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.0008936/1.02, allocations: 0.6008 MB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/1.021, allocations: 16.86 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.57e-05/1.021, allocations: 40.56 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/1.021, allocations: 270 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/1.021, allocations: 29.03 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/1.021, allocations: 32.38 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006347/1.022, allocations: 337.2 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.022, allocations: 4 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/1.022, allocations: 16 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/1.022, allocations: 8 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005687/1.022, allocations: 254 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/1.024, allocations: 0.9433 MB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006529/1.024, allocations: 263.5 kB / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/1.025, allocations: 128.7 kB / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/1.025, allocations: 8 kB / 1.175 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003862/1.025, allocations: 183.2 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=32): time 3.537e-06/1.025, allocations: 3.984 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=32): time 0.0008308/1.026, allocations: 347.7 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/1.026, allocations: 63.39 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/1.026, allocations: 203.8 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/1.026, allocations: 45.69 kB / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/1.026, allocations: 152.6 kB / 1.176 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.69e-05/1.026, allocations: 82.91 kB / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/1.027, allocations: 86.11 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.027, allocations: 338.8 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/1.027, allocations: 108.8 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/1.027, allocations: 165.5 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004714/1.028, allocations: 266.4 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.028, allocations: 4 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000662/1.028, allocations: 366.8 kB / 1.177 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/1.028, allocations: 37.69 kB / 1.177 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/1.029, allocations: 0 / 1.177 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/1.029, allocations: 4 kB / 1.177 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/1.029, allocations: 43.91 kB / 1.177 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/1.029, allocations: 8.156 kB / 1.177 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/1.029, allocations: 51.66 kB / 1.177 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/1.029, allocations: 16 kB / 1.177 GB, free: 9.48 MB / 0.9044 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,wseCon.stateGraphRoot.activeSteps,wseCon.T2.t_start,$PRE.wseCon.T2.t_start,wseCon.T2.fire,wseCon.T2.enableFire,wseCon.T2.localCondition,wseCon.on.oldActive,$PRE.wseCon.on.oldActive,wseCon.on.newActive,$PRE.wseCon.on.newActive,wseCon.on.localActive,$PRE.wseCon.on.localActive,wseCon.on.active,wseCon.T1.t_start,$PRE.wseCon.T1.t_start,wseCon.T1.fire,wseCon.T1.enableFire,wseCon.T1.localCondition,wseCon.off.active,wseCon.off.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.newActive,$PRE.wseCon.off.newActive,wseCon.off.localActive,$PRE.wseCon.off.localActive,wseCHWST.count,$PRE.wseCHWST.count,wseCHWST.T_start,$PRE.wseCHWST.T_start,$whenCondition1,$whenCondition2,$whenCondition3) * 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.000176/1.029, allocations: 177.7 kB / 1.177 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/1.029, allocations: 23.66 kB / 1.177 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006149/1.03, allocations: 303.2 kB / 1.178 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.03, allocations: 0 / 1.178 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/1.03, allocations: 0 / 1.178 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/1.03, allocations: 100.9 kB / 1.178 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/1.03, allocations: 7.984 kB / 1.178 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/1.03, allocations: 39.91 kB / 1.178 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/1.03, allocations: 35.95 kB / 1.178 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007524/1.031, allocations: 378.1 kB / 1.178 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005914/1.032, allocations: 462.5 kB / 1.179 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002516/1.032, allocations: 127.9 kB / 1.179 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000107/1.032, allocations: 135.5 kB / 1.179 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of Backend: time 6.01e-07/1.032, allocations: 0 / 1.179 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007951/1.033, allocations: 322.7 kB / 1.179 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008697/1.034, allocations: 0.8461 MB / 1.18 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of Templates: time 0.006774/1.041, allocations: 3.467 MB / 1.183 GB, free: 2.996 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches