Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00854/0.008541, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001564/0.001564, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.438/1.438, allocations: 222.9 MB / 240.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.208/2.208, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 59.91 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.023, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003534/1.027, allocations: 2.014 MB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001228/1.028, allocations: 0.6803 MB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/1.028, allocations: 4.469 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001491/1.028, allocations: 36.19 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/1.028, allocations: 39.05 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/1.029, allocations: 159.4 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004866/1.029, allocations: 407.7 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004313/1.03, allocations: 245.2 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/1.03, allocations: 137.6 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/1.03, allocations: 145.3 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.192e-05/1.03, allocations: 40.5 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/1.03, allocations: 52.61 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.191e-05/1.03, allocations: 85.27 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/1.031, allocations: 155.1 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005887/1.031, allocations: 435.5 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/1.031, allocations: 0.7031 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.755e-06/1.031, allocations: 0 / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.063e-05/1.031, allocations: 0.7188 kB / 1.092 GB, free: 2.688 MB / 0.8575 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.00107/1.032, allocations: 0.6044 MB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.032, allocations: 13.78 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/1.033, allocations: 29.67 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/1.033, allocations: 269.4 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/1.033, allocations: 29.3 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.401e-05/1.033, allocations: 30.14 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006975/1.034, allocations: 342 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/1.034, allocations: 0 / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/1.034, allocations: 15.7 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/1.034, allocations: 7.125 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000606/1.034, allocations: 251.3 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/1.036, allocations: 0.9515 MB / 1.095 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/1.037, allocations: 273.5 kB / 1.095 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/1.037, allocations: 121.4 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/1.037, allocations: 2.281 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003964/1.037, allocations: 184.1 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=32): time 3.216e-06/1.037, allocations: 3.984 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of matching and sorting (n=32): time 0.0009387/1.038, allocations: 352.2 kB / 1.096 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/1.038, allocations: 57.28 kB / 1.096 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/1.039, allocations: 202.4 kB / 1.096 GB, free: 384 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/1.039, allocations: 41.06 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/1.039, allocations: 157.3 kB / 1.096 GB, free: 200 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.172e-05/1.039, allocations: 85.38 kB / 1.096 GB, free: 132 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/1.039, allocations: 87.83 kB / 1.096 GB, free: 80 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.039, allocations: 344 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/1.039, allocations: 109.7 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/1.04, allocations: 164.9 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005184/1.04, allocations: 257.9 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/1.04, allocations: 5.062 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008111/1.041, allocations: 366.9 kB / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/1.041, allocations: 37.36 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.041, allocations: 2.125 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/1.041, allocations: 3.156 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/1.041, allocations: 39.7 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/1.041, allocations: 3.875 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/1.042, allocations: 58.53 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.803e-05/1.042, allocations: 15.5 kB / 1.098 GB, free: 15.21 MB / 0.8731 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.0002125/1.042, allocations: 170.4 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/1.042, allocations: 23.17 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007287/1.043, allocations: 300.6 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/1.043, allocations: 4.094 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/1.043, allocations: 0 / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/1.043, allocations: 2.625 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/1.044, allocations: 0.7503 MB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.044, allocations: 0.5625 kB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/1.045, allocations: 34.42 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/1.045, allocations: 1.344 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/1.045, allocations: 6.562 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/1.045, allocations: 7.156 kB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.045, allocations: 0 / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007398/1.045, allocations: 375 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.919e-05/1.045, allocations: 107.8 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/1.045, allocations: 8.766 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/1.046, allocations: 33.72 kB / 1.099 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.046, allocations: 36.22 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/1.046, allocations: 12.42 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001554/1.046, allocations: 141.8 kB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.51e-07/1.046, allocations: 0.625 kB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004006/1.047, allocations: 65.72 kB / 1.1 GB, free: 13.95 MB / 0.8731 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.active,wseCon.off.active,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.localActive,wseCon.off.newActive,wseCon.off.oldActive,wseCon.T1.localCondition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.localActive,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.localCondition,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.0002467/1.047, allocations: 123.2 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009264/1.048, allocations: 339.6 kB / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.048, allocations: 0 / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00038/1.048, allocations: 139.1 kB / 1.1 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/1.049, allocations: 37.7 kB / 1.1 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/1.05, allocations: 449.5 kB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/1.05, allocations: 0.7592 MB / 1.101 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001357/1.05, allocations: 30.47 kB / 1.102 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/1.051, allocations: 30.78 kB / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of SimCode: time 8.02e-07/1.051, allocations: 0 / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of Templates: time 0.01082/1.061, allocations: 3.152 MB / 1.105 GB, free: 12.38 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches