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.001153/0.001153, allocations: 113.4 kB / 16.41 MB, free: 6.027 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.001226/0.001226, allocations: 188.3 kB / 17.34 MB, free: 5.633 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.332/1.332, allocations: 222.9 MB / 241 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.232/2.232, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001533, allocations: 59.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9583/0.9598, allocations: 140.4 MB / 1.089 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003231/0.9631, allocations: 2.018 MB / 1.091 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.9645, allocations: 0.678 MB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.9646, allocations: 3.125 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.9649, allocations: 30.83 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.965, allocations: 44.64 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005235/0.9655, allocations: 158.5 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000523/0.966, allocations: 403.2 kB / 1.092 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004306/0.9665, allocations: 249.1 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.9667, allocations: 133.6 kB / 1.092 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.9669, allocations: 146.2 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.873e-05/0.967, allocations: 47.41 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.9671, allocations: 52.66 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.265e-05/0.9672, allocations: 85.83 kB / 1.093 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.9673, allocations: 155.4 kB / 1.093 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005852/0.9679, allocations: 433.6 kB / 1.093 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.968, allocations: 0 / 1.093 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.968, allocations: 0 / 1.093 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.968, allocations: 0.6562 kB / 1.093 GB, free: 2.941 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.001015/0.969, allocations: 0.6028 MB / 1.094 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.969, allocations: 9.625 kB / 1.094 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.859e-05/0.9692, allocations: 33.34 kB / 1.094 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.9695, allocations: 264.9 kB / 1.094 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.9696, allocations: 28.61 kB / 1.094 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.9697, allocations: 30.59 kB / 1.094 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007382/0.9704, allocations: 345.7 kB / 1.094 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.9704, allocations: 4.75 kB / 1.094 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.9705, allocations: 11.66 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.9705, allocations: 7.156 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006308/0.9711, allocations: 247.3 kB / 1.095 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.9727, allocations: 0.9548 MB / 1.096 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007094/0.9734, allocations: 269.8 kB / 1.096 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.9737, allocations: 121 kB / 1.096 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.9738, allocations: 3.156 kB / 1.096 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004231/0.9742, allocations: 188 kB / 1.096 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=32): time 2.585e-06/0.9742, allocations: 0 / 1.096 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=32): time 0.0009467/0.9752, allocations: 347.5 kB / 1.096 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.9752, allocations: 61.77 kB / 1.096 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.9754, allocations: 198 kB / 1.097 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.9755, allocations: 41.23 kB / 1.097 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.9756, allocations: 160.7 kB / 1.097 GB, free: 464 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.211e-05/0.9757, allocations: 78.33 kB / 1.097 GB, free: 404 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.9758, allocations: 92.55 kB / 1.097 GB, free: 348 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.366e-05/0.9759, allocations: 335.8 kB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/0.9762, allocations: 116.1 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.9766, allocations: 169.9 kB / 1.098 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005705/0.9772, allocations: 262.3 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.9772, allocations: 1.312 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007984/0.978, allocations: 365.9 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.42e-05/0.9781, allocations: 33.45 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.9781, allocations: 1.062 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.9781, allocations: 4.609 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.9783, allocations: 43.94 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/0.9784, allocations: 15.59 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.9787, allocations: 51.3 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.9787, allocations: 14.38 kB / 1.098 GB, free: 15.46 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.0002235/0.9789, allocations: 182.6 kB / 1.099 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.979, allocations: 18.58 kB / 1.099 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007403/0.9797, allocations: 293.9 kB / 1.099 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.9798, allocations: 3.031 kB / 1.099 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9798, allocations: 5.094 kB / 1.099 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.9798, allocations: 2.062 kB / 1.099 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.9811, allocations: 0.7496 MB / 1.1 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.9812, allocations: 0.6094 kB / 1.1 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.9813, allocations: 30.72 kB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.9813, allocations: 1.75 kB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.9814, allocations: 6.422 kB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.9814, allocations: 5.812 kB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.9814, allocations: 0.6094 kB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000664/0.982, allocations: 378.6 kB / 1.1 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.9821, allocations: 101 kB / 1.1 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.9822, allocations: 11.64 kB / 1.1 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.9824, allocations: 34.42 kB / 1.1 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.9826, allocations: 40.97 kB / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.9826, allocations: 12 kB / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001305/0.9828, allocations: 134.2 kB / 1.1 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9828, allocations: 0 / 1.1 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004008/0.9832, allocations: 66.05 kB / 1.1 GB, free: 14.21 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.0002111/0.9834, allocations: 126.7 kB / 1.101 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000777/0.9842, allocations: 343.4 kB / 1.101 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.9842, allocations: 0 / 1.101 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.9845, allocations: 133.8 kB / 1.101 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.9849, allocations: 33.73 kB / 1.101 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.986, allocations: 483 kB / 1.101 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.9864, allocations: 0.7526 MB / 1.102 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.9865, allocations: 34.39 kB / 1.102 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of SimCode: time 9.02e-07/0.9865, allocations: 0.8125 kB / 1.102 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.008221/0.9947, allocations: 3.517 MB / 1.106 GB, free: 12.45 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