Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001609/0.001616, allocations: 109 kB / 16.41 MB, free: 6.496 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.001526/0.001526, allocations: 187.9 kB / 17.34 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.392/1.392, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.694/2.694, allocations: 461.7 MB / 0.7352 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.89 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8187/0.8201, allocations: 157.4 MB / 1.208 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003459/0.8236, allocations: 2.022 MB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.825, allocations: 0.6819 MB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.8252, allocations: 4 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.8254, allocations: 31.61 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.8256, allocations: 43.58 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.8261, allocations: 155.8 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.8267, allocations: 403.3 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004253/0.8271, allocations: 251.8 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.8273, allocations: 135.5 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.8275, allocations: 147.4 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.698e-05/0.8276, allocations: 40 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.8277, allocations: 51.94 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.149e-05/0.8278, allocations: 79.81 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.828, allocations: 151.2 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.8285, allocations: 428.4 kB / 1.213 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.8285, allocations: 8 kB / 1.213 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8285, allocations: 3.938 kB / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.8285, allocations: 0 / 1.213 GB, free: 9.195 MB / 0.9356 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.001046/0.8296, allocations: 0.5951 MB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.8296, allocations: 8.031 kB / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.815e-05/0.8297, allocations: 36.56 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.83, allocations: 267.9 kB / 1.214 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.8301, allocations: 29.03 kB / 1.214 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.8301, allocations: 32.38 kB / 1.214 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007215/0.8309, allocations: 345.1 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.8309, allocations: 0 / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.8309, allocations: 8 kB / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.8309, allocations: 8 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006045/0.8316, allocations: 254.1 kB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.8331, allocations: 0.955 MB / 1.215 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006475/0.8338, allocations: 266.9 kB / 1.215 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.834, allocations: 133.2 kB / 1.216 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.8341, allocations: 4 kB / 1.216 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003886/0.8345, allocations: 179.2 kB / 1.216 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=32): time 4.378e-06/0.8345, allocations: 3.984 kB / 1.216 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32): time 0.0008438/0.8353, allocations: 353.9 kB / 1.216 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.8354, allocations: 55.41 kB / 1.216 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.8356, allocations: 207.2 kB / 1.216 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.8356, allocations: 45.69 kB / 1.216 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.8357, allocations: 152.6 kB / 1.216 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.285e-05/0.8358, allocations: 78.91 kB / 1.217 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.8359, allocations: 90.11 kB / 1.217 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.8361, allocations: 338.8 kB / 1.217 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.8364, allocations: 108.8 kB / 1.217 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.8367, allocations: 169.4 kB / 1.217 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/0.8372, allocations: 258.7 kB / 1.217 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8372, allocations: 0 / 1.217 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006958/0.8379, allocations: 374.7 kB / 1.218 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.838, allocations: 33.7 kB / 1.218 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.838, allocations: 0 / 1.218 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.838, allocations: 4 kB / 1.218 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.8382, allocations: 43.91 kB / 1.218 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.8382, allocations: 15.91 kB / 1.218 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.8385, allocations: 55.72 kB / 1.218 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.8386, allocations: 12 kB / 1.218 GB, free: 3.461 MB / 0.9356 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.0001838/0.8388, allocations: 173.7 kB / 1.218 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.8388, allocations: 23.72 kB / 1.218 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006164/0.8394, allocations: 295.2 kB / 1.218 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.8394, allocations: 7.984 kB / 1.218 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8394, allocations: 0 / 1.218 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.8395, allocations: 92.86 kB / 1.219 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.8396, allocations: 12 kB / 1.219 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.8398, allocations: 35.89 kB / 1.219 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.8399, allocations: 39.89 kB / 1.219 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007514/0.8407, allocations: 380.7 kB / 1.219 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006189/0.8413, allocations: 459.9 kB / 1.219 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002578/0.8416, allocations: 135.8 kB / 1.22 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001034/0.8417, allocations: 135.5 kB / 1.22 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of Backend: time 4.41e-07/0.8417, allocations: 0 / 1.22 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007661/0.8425, allocations: 313.7 kB / 1.22 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0009593/0.8434, allocations: 0.8541 MB / 1.221 GB, free: 432 kB / 0.9356 GB Notification: Performance of Templates: time 0.007405/0.8508, allocations: 3.433 MB / 1.224 GB, free: 13.02 MB / 0.9512 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 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches