Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.001321/0.001321, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.00153/0.00153, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 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.9274/0.9274, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.045/2.045, allocations: 429.5 MB / 0.6733 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DataCenter.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_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.DataCenter.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_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.995e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl): time 0.009722/0.009752, allocations: 2.098 MB / 0.8802 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.01116, allocations: 0.7071 MB / 0.8809 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.01131, allocations: 4.594 kB / 0.8809 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.01148, allocations: 35.61 kB / 0.881 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.01161, allocations: 47.5 kB / 0.881 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003568/0.01518, allocations: 167.7 kB / 0.8812 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.01574, allocations: 411.1 kB / 0.8816 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003885/0.01613, allocations: 216.7 kB / 0.8818 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/0.01641, allocations: 211.6 kB / 0.882 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.01661, allocations: 112.2 kB / 0.8821 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.558e-05/0.01667, allocations: 40.59 kB / 0.8821 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.365e-05/0.01677, allocations: 40 kB / 0.8822 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.962e-05/0.01686, allocations: 88.62 kB / 0.8822 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.01698, allocations: 103.7 kB / 0.8823 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.01739, allocations: 267.8 kB / 0.8826 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.01739, allocations: 0 / 0.8826 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.322e-06/0.01739, allocations: 1.531 kB / 0.8826 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.0174, allocations: 0 / 0.8826 GB, free: 1.797 MB / 0.8386 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.003915/0.02131, allocations: 0.635 MB / 0.8832 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.02135, allocations: 9 kB / 0.8832 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000301/0.02165, allocations: 68.73 kB / 0.8833 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.02198, allocations: 222.7 kB / 0.8835 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.771e-05/0.02203, allocations: 25.03 kB / 0.8835 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.02208, allocations: 36.38 kB / 0.8836 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005305/0.02261, allocations: 264 kB / 0.8838 GB, free: 476 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.02262, allocations: 192 / 0.8838 GB, free: 476 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.02265, allocations: 12.38 kB / 0.8838 GB, free: 464 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.02267, allocations: 11.94 kB / 0.8838 GB, free: 452 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.02297, allocations: 115.8 kB / 0.8839 GB, free: 340 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004277/0.02725, allocations: 0.8419 MB / 0.8848 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.02764, allocations: 169.4 kB / 0.8849 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.02777, allocations: 64.16 kB / 0.885 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.0278, allocations: 7.984 kB / 0.885 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/0.02807, allocations: 140.9 kB / 0.8851 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=32): time 3.005e-06/0.02807, allocations: 0 / 0.8851 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=32): time 0.0005189/0.02859, allocations: 250.7 kB / 0.8854 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.02863, allocations: 59.41 kB / 0.8854 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.02882, allocations: 241.3 kB / 0.8857 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.02886, allocations: 45.7 kB / 0.8857 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.02898, allocations: 203.4 kB / 0.8859 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.02905, allocations: 87.36 kB / 0.886 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.02918, allocations: 95.8 kB / 0.8861 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.02933, allocations: 0.5001 MB / 0.8866 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.02949, allocations: 82.66 kB / 0.8866 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.02969, allocations: 156.8 kB / 0.8868 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003367/0.03306, allocations: 200.3 kB / 0.887 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.03306, allocations: 0 / 0.887 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005714/0.03363, allocations: 316.7 kB / 0.8873 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/0.03368, allocations: 33.69 kB / 0.8873 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.03369, allocations: 4 kB / 0.8873 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.03371, allocations: 4 kB / 0.8873 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.03394, allocations: 39.92 kB / 0.8874 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.03396, allocations: 8.156 kB / 0.8874 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.03414, allocations: 47.75 kB / 0.8874 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.03417, allocations: 15.94 kB / 0.8874 GB, free: 12.54 MB / 0.8542 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.0001778/0.03435, allocations: 188.5 kB / 0.8876 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.03441, allocations: 31.84 kB / 0.8876 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.439e-05/0.03447, allocations: 34.64 kB / 0.8877 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.03448, allocations: 4 kB / 0.8877 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.03448, allocations: 0 / 0.8877 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.03449, allocations: 4 kB / 0.8877 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009105/0.0354, allocations: 0.6006 MB / 0.8883 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.0354, allocations: 0 / 0.8883 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.03552, allocations: 23.92 kB / 0.8883 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.03553, allocations: 4 kB / 0.8883 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.03555, allocations: 7.984 kB / 0.8883 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.03555, allocations: 4 kB / 0.8883 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.03556, allocations: 0 / 0.8883 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003496/0.03905, allocations: 364.7 kB / 0.8886 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.03908, allocations: 15.84 kB / 0.8887 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.03912, allocations: 11.98 kB / 0.8887 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.03929, allocations: 19.98 kB / 0.8887 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.0394, allocations: 39.92 kB / 0.8887 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.03942, allocations: 4 kB / 0.8887 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.326e-05/0.03951, allocations: 160.1 kB / 0.8889 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.03951, allocations: 3.938 kB / 0.8889 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003585/0.03987, allocations: 79.77 kB / 0.889 GB, free: 10.89 MB / 0.8542 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.0001471/0.04001, allocations: 117.2 kB / 0.8891 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004416/0.04046, allocations: 269.3 kB / 0.8893 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.04046, allocations: 0 / 0.8893 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.04063, allocations: 100 kB / 0.8894 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.041, allocations: 40.3 kB / 0.8895 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.04508, allocations: 427.9 kB / 0.8899 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.155e-05/0.04516, allocations: 88.92 kB / 0.89 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.04526, allocations: 26.3 kB / 0.89 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.877e-05/0.04535, allocations: 28.48 kB / 0.89 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of SimCode: time 1.342e-06/0.04535, allocations: 0 / 0.89 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of Templates: time 0.006097/0.05144, allocations: 2.95 MB / 0.8929 GB, free: 6.855 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_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.317754900082946]