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.001487/0.001487, allocations: 111.7 kB / 16.42 MB, free: 6.52 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.001725/0.001725, allocations: 187.9 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.18 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.409/2.409, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 63.91 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157/1.158, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.004414/1.163, allocations: 2.014 MB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001476/1.164, allocations: 0.6797 MB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/1.164, allocations: 8.781 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000183/1.165, allocations: 33.88 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/1.165, allocations: 36.91 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005348/1.165, allocations: 154.6 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005398/1.166, allocations: 408.1 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000465/1.166, allocations: 252 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/1.167, allocations: 138 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/1.167, allocations: 146 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.458e-05/1.167, allocations: 39.34 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/1.167, allocations: 53.23 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/1.167, allocations: 82.14 kB / 1.093 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/1.167, allocations: 154.8 kB / 1.093 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006916/1.168, allocations: 438.6 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/1.168, allocations: 5.719 kB / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.004e-06/1.168, allocations: 0 / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.404e-06/1.168, allocations: 4 kB / 1.093 GB, free: 2.676 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.001124/1.169, allocations: 0.6006 MB / 1.094 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/1.169, allocations: 8.562 kB / 1.094 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/1.169, allocations: 29.94 kB / 1.094 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/1.17, allocations: 268.2 kB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/1.17, allocations: 24.98 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.416e-05/1.17, allocations: 35.44 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000844/1.171, allocations: 342 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/1.171, allocations: 0 / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/1.171, allocations: 11.45 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/1.171, allocations: 6.969 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007129/1.172, allocations: 256.3 kB / 1.095 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/1.173, allocations: 0.9504 MB / 1.096 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007701/1.174, allocations: 269.3 kB / 1.096 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/1.175, allocations: 122.1 kB / 1.096 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/1.175, allocations: 6.531 kB / 1.096 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004688/1.175, allocations: 183 kB / 1.096 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=32): time 1.924e-06/1.175, allocations: 0 / 1.096 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of matching and sorting (n=32): time 0.001025/1.176, allocations: 351.6 kB / 1.096 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/1.176, allocations: 62.05 kB / 1.097 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/1.176, allocations: 198.9 kB / 1.097 GB, free: 384 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/1.177, allocations: 40.23 kB / 1.097 GB, free: 344 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/1.177, allocations: 157.4 kB / 1.097 GB, free: 200 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.275e-05/1.177, allocations: 77.44 kB / 1.097 GB, free: 140 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/1.177, allocations: 96.47 kB / 1.097 GB, free: 80 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001677/1.177, allocations: 340.1 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/1.177, allocations: 104.2 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/1.178, allocations: 169.4 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006281/1.178, allocations: 259.4 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.178, allocations: 0 / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009236/1.179, allocations: 366.8 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.08e-05/1.179, allocations: 33.52 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/1.179, allocations: 6.266 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/1.179, allocations: 2.688 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/1.18, allocations: 48.2 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/1.18, allocations: 3.969 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/1.18, allocations: 54.8 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/1.18, allocations: 11.84 kB / 1.098 GB, free: 15.22 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.0002754/1.18, allocations: 181.4 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/1.18, allocations: 18.19 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008391/1.181, allocations: 305.4 kB / 1.099 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/1.181, allocations: 2.297 kB / 1.099 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.181, allocations: 0.6875 kB / 1.099 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.496e-05/1.181, allocations: 104.4 kB / 1.099 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.8e-05/1.182, allocations: 11.83 kB / 1.099 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/1.182, allocations: 33.94 kB / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/1.182, allocations: 37.83 kB / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009704/1.183, allocations: 384 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007933/1.184, allocations: 454 kB / 1.1 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003473/1.184, allocations: 138.1 kB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001436/1.184, allocations: 128.6 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of Backend: time 1.062e-06/1.184, allocations: 0 / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001018/1.185, allocations: 324.2 kB / 1.1 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001411/1.187, allocations: 0.8415 MB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of Templates: time 0.01116/1.198, allocations: 3.482 MB / 1.105 GB, free: 12.96 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/jenkins1/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