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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001175/0.001175, allocations: 98.56 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001288, allocations: 180.4 kB / 16.92 MB, free: 6.918 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.397/1.397, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 437.8 MB / 0.7128 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003648, allocations: 11.98 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6511/0.6515, allocations: 153.8 MB / 1.024 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002368/0.6539, allocations: 1.746 MB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.6552, allocations: 0.6859 MB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.6554, allocations: 4 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.6556, allocations: 23.73 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.6557, allocations: 27.78 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.6562, allocations: 143.9 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004393/0.6566, allocations: 371.2 kB / 1.027 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.657, allocations: 211.8 kB / 1.027 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.6572, allocations: 103.5 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.6574, allocations: 115.4 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.6574, allocations: 12 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.476e-05/0.6575, allocations: 20 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.671e-05/0.6576, allocations: 59.69 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.6577, allocations: 145 kB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.6581, allocations: 309.3 kB / 1.028 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6581, allocations: 0 / 1.028 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6581, allocations: 4 kB / 1.028 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.6581, allocations: 0 / 1.028 GB, free: 12.09 MB / 0.7794 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.0009185/0.659, allocations: 0.5405 MB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.6591, allocations: 15.98 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.367e-05/0.6592, allocations: 32.56 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.6595, allocations: 275.7 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/0.6595, allocations: 29.03 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.6596, allocations: 36.38 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000677/0.6603, allocations: 337.2 kB / 1.029 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.6603, allocations: 0 / 1.029 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.6604, allocations: 12 kB / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.108e-06/0.6604, allocations: 12 kB / 1.029 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/0.661, allocations: 262 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.6626, allocations: 0.959 MB / 1.03 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000646/0.6632, allocations: 274.9 kB / 1.03 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.6635, allocations: 128.8 kB / 1.03 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.6636, allocations: 7.938 kB / 1.03 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004164/0.664, allocations: 191.8 kB / 1.031 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=32): time 1.814e-06/0.664, allocations: 0 / 1.031 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of matching and sorting (n=32): time 0.0008378/0.6649, allocations: 365.2 kB / 1.031 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.6649, allocations: 63.39 kB / 1.031 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.6651, allocations: 203.3 kB / 1.031 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.6652, allocations: 41.7 kB / 1.031 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.6653, allocations: 156.5 kB / 1.031 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.731e-05/0.6654, allocations: 78.91 kB / 1.031 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.542e-05/0.6655, allocations: 61.69 kB / 1.031 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.6656, allocations: 334.8 kB / 1.032 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.6659, allocations: 116.8 kB / 1.032 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.6662, allocations: 173.5 kB / 1.032 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000485/0.6667, allocations: 258.7 kB / 1.032 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.6667, allocations: 0 / 1.032 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007169/0.6674, allocations: 394.5 kB / 1.033 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.696e-05/0.6675, allocations: 37.69 kB / 1.033 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6675, allocations: 0 / 1.033 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.6675, allocations: 4 kB / 1.033 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.6677, allocations: 43.91 kB / 1.033 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.6677, allocations: 4 kB / 1.033 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.668, allocations: 63.7 kB / 1.033 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/0.6681, allocations: 16 kB / 1.033 GB, free: 6.348 MB / 0.7794 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.condition,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.condition,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.000185/0.6683, allocations: 179 kB / 1.033 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.6683, allocations: 27.72 kB / 1.033 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006604/0.669, allocations: 311.1 kB / 1.033 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.669, allocations: 7.984 kB / 1.033 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.669, allocations: 0 / 1.033 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.669, allocations: 0 / 1.033 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.6702, allocations: 0.7648 MB / 1.034 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6702, allocations: 4 kB / 1.034 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.6703, allocations: 35.92 kB / 1.034 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6704, allocations: 0 / 1.034 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.6704, allocations: 11.98 kB / 1.034 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.6704, allocations: 3.938 kB / 1.034 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.6704, allocations: 0 / 1.034 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.671, allocations: 391.2 kB / 1.035 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.437e-05/0.6711, allocations: 96.77 kB / 1.035 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.6711, allocations: 8 kB / 1.035 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.6714, allocations: 39.91 kB / 1.035 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.6715, allocations: 39.94 kB / 1.035 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.6715, allocations: 12 kB / 1.035 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001084/0.6717, allocations: 131.5 kB / 1.035 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6717, allocations: 0 / 1.035 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003335/0.672, allocations: 67.84 kB / 1.035 GB, free: 4.137 MB / 0.7794 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.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.condition,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.0001691/0.6722, allocations: 127.6 kB / 1.035 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006723/0.6729, allocations: 347.9 kB / 1.035 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6729, allocations: 0 / 1.035 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.6732, allocations: 144.1 kB / 1.036 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.6735, allocations: 36.7 kB / 1.036 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009404/0.6745, allocations: 0.5679 MB / 1.036 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.6748, allocations: 0.7564 MB / 1.037 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.339e-05/0.675, allocations: 31.42 kB / 1.037 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of SimCode: time 4.2e-07/0.675, allocations: 0 / 1.037 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of Templates: time 0.006115/0.6811, allocations: 3.437 MB / 1.04 GB, free: 14.64 MB / 0.795 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