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.0009267/0.0009267, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009952/0.0009952, allocations: 165 kB / 24.17 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.9514/0.9514, allocations: 177.2 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.855/1.855, allocations: 377.9 MB / 0.624 GB, free: 8.375 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.754e-06/1.754e-06, allocations: 0 / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.056e-05, allocations: 4.141 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003241/0.003262, allocations: 2.051 MB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.00453, allocations: 0.7305 MB / 0.7627 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.004657, allocations: 7.938 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.004805, allocations: 32.27 kB / 0.7628 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.004925, allocations: 39.16 kB / 0.7628 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.005413, allocations: 172.8 kB / 0.763 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004732/0.005887, allocations: 411.1 kB / 0.7634 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003272/0.006214, allocations: 226.1 kB / 0.7636 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.00647, allocations: 215.6 kB / 0.7638 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.006639, allocations: 107.7 kB / 0.7639 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.177e-05/0.00669, allocations: 36 kB / 0.7639 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.236e-05/0.006773, allocations: 49.19 kB / 0.764 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.006855, allocations: 87.72 kB / 0.764 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.00696, allocations: 99.8 kB / 0.7641 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.007303, allocations: 268.2 kB / 0.7644 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.007305, allocations: 4 kB / 0.7644 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.12e-07/0.007306, allocations: 0 / 0.7644 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.00731, allocations: 0 / 0.7644 GB, free: 2.172 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.0007198/0.00803, allocations: 0.5036 MB / 0.7649 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.008064, allocations: 8.531 kB / 0.7649 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002558/0.00832, allocations: 62.31 kB / 0.765 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.008572, allocations: 174.8 kB / 0.7651 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.00861, allocations: 29.03 kB / 0.7652 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/0.008656, allocations: 33.53 kB / 0.7652 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.009041, allocations: 246.2 kB / 0.7654 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.009054, allocations: 4.125 kB / 0.7654 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.009081, allocations: 13.12 kB / 0.7654 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.009092, allocations: 7.938 kB / 0.7654 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.00927, allocations: 85.23 kB / 0.7655 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009614/0.01023, allocations: 0.5738 MB / 0.7661 GB, free: 372 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.01048, allocations: 133.2 kB / 0.7662 GB, free: 232 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.112e-05/0.01056, allocations: 56.83 kB / 0.7663 GB, free: 172 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.01058, allocations: 5.812 kB / 0.7663 GB, free: 168 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.01077, allocations: 127.2 kB / 0.7664 GB, free: 28 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=32): time 2.926e-06/0.01077, allocations: 3.984 kB / 0.7664 GB, free: 24 kB / 0.7136 GB Notification: Performance of matching and sorting (n=32): time 0.0003086/0.01108, allocations: 170.5 kB / 0.7666 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000177/0.01126, allocations: 70.64 kB / 0.7666 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.01139, allocations: 181.8 kB / 0.7668 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.01143, allocations: 41.7 kB / 0.7668 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/0.01151, allocations: 148.7 kB / 0.767 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.387e-05/0.01158, allocations: 87.33 kB / 0.7671 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.01169, allocations: 90.12 kB / 0.7671 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.01179, allocations: 330.8 kB / 0.7675 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.024e-05/0.01188, allocations: 62.67 kB / 0.7675 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.012, allocations: 126.5 kB / 0.7676 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.0122, allocations: 171.3 kB / 0.7678 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.01221, allocations: 4 kB / 0.7678 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002953/0.0125, allocations: 234.2 kB / 0.768 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.01254, allocations: 39.34 kB / 0.7681 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01254, allocations: 5.562 kB / 0.7681 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.01256, allocations: 4 kB / 0.7681 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.01272, allocations: 39.92 kB / 0.7681 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.01272, allocations: 7.938 kB / 0.7681 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.01287, allocations: 53.03 kB / 0.7682 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.01289, allocations: 4.562 kB / 0.7682 GB, free: 14.07 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.0001185/0.01301, allocations: 147.1 kB / 0.7683 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.01305, allocations: 28.66 kB / 0.7684 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.0131, allocations: 30.59 kB / 0.7684 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.0131, allocations: 6.875 kB / 0.7684 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01311, allocations: 3.938 kB / 0.7684 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.01311, allocations: 3.984 kB / 0.7684 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.01366, allocations: 399.3 kB / 0.7688 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01366, allocations: 0 / 0.7688 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.215e-05/0.01375, allocations: 23.92 kB / 0.7688 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01375, allocations: 4 kB / 0.7688 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.01377, allocations: 11.11 kB / 0.7688 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.01377, allocations: 4 kB / 0.7688 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01378, allocations: 0 / 0.7688 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.014, allocations: 233.7 kB / 0.769 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.01402, allocations: 31.78 kB / 0.7691 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.01405, allocations: 8 kB / 0.7691 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.01419, allocations: 24.94 kB / 0.7691 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/0.01427, allocations: 31.94 kB / 0.7691 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.01428, allocations: 11.94 kB / 0.7691 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.367e-05/0.01433, allocations: 43.38 kB / 0.7692 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01433, allocations: 0 / 0.7692 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003133/0.01464, allocations: 68.73 kB / 0.7692 GB, free: 12.95 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.0001153/0.01476, allocations: 99.42 kB / 0.7693 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002953/0.01505, allocations: 249.3 kB / 0.7696 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.01506, allocations: 4 kB / 0.7696 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.01518, allocations: 84.69 kB / 0.7697 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.01544, allocations: 38.45 kB / 0.7697 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009359/0.01637, allocations: 421.5 kB / 0.7701 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.68e-05/0.01646, allocations: 84.94 kB / 0.7702 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.724e-05/0.01655, allocations: 26.28 kB / 0.7702 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.01666, allocations: 91.36 kB / 0.7703 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of SimCode: time 7.01e-07/0.01666, allocations: 0 / 0.7703 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of Templates: time 0.004645/0.0213, allocations: 3.047 MB / 0.7733 GB, free: 8.898 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 -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: 4.86306312168017]