Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 80.8 kB / 20.75 MB, free: 3.734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 165 kB / 24.16 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9837/0.9837, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.96/1.96, allocations: 377.9 MB / 0.624 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.407e-05, allocations: 2.312 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003941/0.003965, allocations: 2.094 MB / 0.7621 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.005319, allocations: 0.7359 MB / 0.7628 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.005452, allocations: 7.938 kB / 0.7628 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.005611, allocations: 38.06 kB / 0.7629 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.005735, allocations: 40.58 kB / 0.7629 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.006209, allocations: 168.9 kB / 0.7631 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.006679, allocations: 411.2 kB / 0.7634 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/0.00701, allocations: 216.4 kB / 0.7637 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.007253, allocations: 204.3 kB / 0.7638 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.007426, allocations: 108.9 kB / 0.764 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.681e-05/0.007482, allocations: 40 kB / 0.764 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.524e-05/0.007578, allocations: 44 kB / 0.764 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.233e-05/0.00766, allocations: 83.73 kB / 0.7641 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.007766, allocations: 108.9 kB / 0.7642 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003724/0.008138, allocations: 267 kB / 0.7645 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.008141, allocations: 0 / 0.7645 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.242e-06/0.008143, allocations: 0.75 kB / 0.7645 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.008148, allocations: 0 / 0.7645 GB, free: 2.133 MB / 0.7136 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.0007325/0.008881, allocations: 0.5079 MB / 0.765 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.008916, allocations: 11.97 kB / 0.765 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002823/0.009199, allocations: 63 kB / 0.765 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.009455, allocations: 165.4 kB / 0.7652 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.009496, allocations: 29.03 kB / 0.7652 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.009542, allocations: 36.36 kB / 0.7653 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/0.009947, allocations: 246.2 kB / 0.7655 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.00996, allocations: 2 kB / 0.7655 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.00999, allocations: 12.38 kB / 0.7655 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.01, allocations: 11.94 kB / 0.7655 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.01018, allocations: 72.55 kB / 0.7656 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009642/0.01114, allocations: 0.5897 MB / 0.7662 GB, free: 324 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.01133, allocations: 132.3 kB / 0.7663 GB, free: 184 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.01138, allocations: 48.83 kB / 0.7663 GB, free: 132 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.0114, allocations: 10.89 kB / 0.7663 GB, free: 124 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.01158, allocations: 127.3 kB / 0.7665 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 1.893e-06/0.01158, allocations: 0 / 0.7665 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.0002196/0.0118, allocations: 174.5 kB / 0.7666 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.01183, allocations: 55.41 kB / 0.7667 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.01193, allocations: 188 kB / 0.7669 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.01196, allocations: 41.69 kB / 0.7669 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.01203, allocations: 150.2 kB / 0.7671 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.01207, allocations: 83.34 kB / 0.7671 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.904e-05/0.01215, allocations: 90.11 kB / 0.7672 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.737e-05/0.01223, allocations: 330.8 kB / 0.7675 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.01256, allocations: 68.12 kB / 0.7676 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.908e-05/0.01264, allocations: 119.8 kB / 0.7677 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.01277, allocations: 180.5 kB / 0.7679 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01277, allocations: 4.594 kB / 0.7679 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002099/0.01298, allocations: 234.1 kB / 0.7681 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.01301, allocations: 37.64 kB / 0.7681 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.01302, allocations: 4.844 kB / 0.7682 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.01304, allocations: 4 kB / 0.7682 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.01319, allocations: 54.62 kB / 0.7682 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.0132, allocations: 4 kB / 0.7682 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.0133, allocations: 43.75 kB / 0.7683 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.01331, allocations: 12 kB / 0.7683 GB, free: 14.02 MB / 0.7292 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.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,wseCon.stateGraphRoot.suspend,wseCon.stateGraphRoot.resume) * 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.0001056/0.01342, allocations: 156.8 kB / 0.7684 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.01344, allocations: 19.98 kB / 0.7684 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.01348, allocations: 34.58 kB / 0.7685 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.01348, allocations: 4 kB / 0.7685 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.01349, allocations: 0 / 0.7685 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01349, allocations: 0 / 0.7685 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.01389, allocations: 400.8 kB / 0.7689 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01389, allocations: 0 / 0.7689 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-05/0.01396, allocations: 35.92 kB / 0.7689 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01397, allocations: 0.9688 kB / 0.7689 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.01398, allocations: 4 kB / 0.7689 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.01398, allocations: 7.984 kB / 0.7689 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01398, allocations: 0.5312 kB / 0.7689 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.01413, allocations: 234.4 kB / 0.7691 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.01415, allocations: 27.8 kB / 0.7691 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.01417, allocations: 8.594 kB / 0.7692 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.231e-05/0.01425, allocations: 24.78 kB / 0.7692 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.01432, allocations: 33 kB / 0.7692 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.01433, allocations: 4 kB / 0.7692 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.049e-05/0.01436, allocations: 39.88 kB / 0.7693 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01436, allocations: 0.7812 kB / 0.7693 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000174/0.01453, allocations: 71.81 kB / 0.7693 GB, free: 12.9 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.active,wseCon.off.active,$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 (32): * Single equations (assignments): 26 * 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.0001098/0.01464, allocations: 102 kB / 0.7694 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.01487, allocations: 243.1 kB / 0.7697 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.01487, allocations: 4 kB / 0.7697 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.276e-05/0.01495, allocations: 80.69 kB / 0.7697 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.01514, allocations: 39.22 kB / 0.7698 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/0.01577, allocations: 420.9 kB / 0.7702 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.519e-05/0.01583, allocations: 88.92 kB / 0.7703 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.249e-05/0.0159, allocations: 25.09 kB / 0.7703 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.01602, allocations: 95.36 kB / 0.7704 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of SimCode: time 6.92e-07/0.01602, allocations: 3.812 kB / 0.7704 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of Templates: time 0.005043/0.02106, allocations: 3.051 MB / 0.7734 GB, free: 8.863 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0199341820552945]