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.001061/0.001061, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001006/0.001006, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.987/0.987, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.389/2.389, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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 2.535e-06/2.535e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.568e-05/3.821e-05, allocations: 6.25 kB / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl): time 0.004435/0.004473, allocations: 2.052 MB / 0.8918 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.006154, allocations: 0.7052 MB / 0.8925 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.00636, allocations: 7.938 kB / 0.8925 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.00654, allocations: 31.61 kB / 0.8925 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.00668, allocations: 39.59 kB / 0.8925 GB, free: 6.883 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/0.007268, allocations: 171.7 kB / 0.8927 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005966/0.007865, allocations: 419.1 kB / 0.8931 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004372/0.008302, allocations: 220.7 kB / 0.8933 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003037/0.008606, allocations: 203.6 kB / 0.8935 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.008816, allocations: 107.7 kB / 0.8936 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.31e-05/0.008879, allocations: 40 kB / 0.8936 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.797e-05/0.008977, allocations: 44 kB / 0.8937 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.269e-05/0.009069, allocations: 87.67 kB / 0.8938 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.009187, allocations: 107.7 kB / 0.8939 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004551/0.009642, allocations: 263.1 kB / 0.8941 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.009647, allocations: 0 / 0.8941 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.583e-06/0.009649, allocations: 7.938 kB / 0.8941 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.009656, allocations: 4 kB / 0.8941 GB, free: 5.238 MB / 0.8542 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.001/0.01066, allocations: 0.6349 MB / 0.8947 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.01071, allocations: 8.625 kB / 0.8948 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000301/0.01101, allocations: 64.73 kB / 0.8948 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.01133, allocations: 216.2 kB / 0.895 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-05/0.01138, allocations: 32.97 kB / 0.8951 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.01142, allocations: 32.38 kB / 0.8951 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.01187, allocations: 255.9 kB / 0.8953 GB, free: 3.922 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.01189, allocations: 192 / 0.8953 GB, free: 3.922 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.01192, allocations: 8.375 kB / 0.8953 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.01193, allocations: 11.94 kB / 0.8953 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.01212, allocations: 92.5 kB / 0.8954 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.01346, allocations: 0.7917 MB / 0.8962 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.01377, allocations: 163.4 kB / 0.8964 GB, free: 2.816 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.833e-05/0.01386, allocations: 51.66 kB / 0.8964 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.01389, allocations: 7.938 kB / 0.8964 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.01414, allocations: 136.8 kB / 0.8966 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=32): time 2.144e-06/0.01414, allocations: 3.938 kB / 0.8966 GB, free: 2.602 MB / 0.8542 GB Notification: Performance of matching and sorting (n=32): time 0.0004272/0.01457, allocations: 221.4 kB / 0.8968 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.01462, allocations: 59.34 kB / 0.8968 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.01481, allocations: 237 kB / 0.8971 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.01485, allocations: 45.69 kB / 0.8971 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.01497, allocations: 211.4 kB / 0.8973 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.01519, allocations: 83.31 kB / 0.8974 GB, free: 1.715 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.01533, allocations: 99.77 kB / 0.8975 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.01549, allocations: 0.504 MB / 0.898 GB, free: 1.094 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.0156, allocations: 66.67 kB / 0.898 GB, free: 1.023 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.01574, allocations: 144.7 kB / 0.8982 GB, free: 0.8516 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.01596, allocations: 176.4 kB / 0.8983 GB, free: 0.6484 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.01596, allocations: 0 / 0.8983 GB, free: 0.6484 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003966/0.01636, allocations: 300.4 kB / 0.8986 GB, free: 344 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.0164, allocations: 44.3 kB / 0.8987 GB, free: 296 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.01641, allocations: 0 / 0.8987 GB, free: 296 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.01642, allocations: 4 kB / 0.8987 GB, free: 292 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.01658, allocations: 43.91 kB / 0.8987 GB, free: 248 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.01659, allocations: 0 / 0.8987 GB, free: 248 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.01674, allocations: 51.92 kB / 0.8988 GB, free: 196 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.01676, allocations: 12 kB / 0.8988 GB, free: 184 kB / 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.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.0001907/0.01695, allocations: 192.5 kB / 0.899 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.017, allocations: 31.84 kB / 0.899 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.813e-05/0.01706, allocations: 30.64 kB / 0.899 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.01707, allocations: 4 kB / 0.899 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.01707, allocations: 7.938 kB / 0.899 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.01708, allocations: 0 / 0.899 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007229/0.0178, allocations: 0.5465 MB / 0.8996 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.0178, allocations: 0 / 0.8996 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.01789, allocations: 23.98 kB / 0.8996 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.0179, allocations: 4 kB / 0.8996 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.01791, allocations: 4 kB / 0.8996 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.01791, allocations: 0 / 0.8996 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01791, allocations: 0 / 0.8996 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.01824, allocations: 360.7 kB / 0.8999 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.01827, allocations: 23.84 kB / 0.9 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.0183, allocations: 19.92 kB / 0.9 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.01842, allocations: 19.98 kB / 0.9 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.01851, allocations: 27.94 kB / 0.9 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.01853, allocations: 8 kB / 0.9 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.568e-05/0.0186, allocations: 157.5 kB / 0.9002 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.0186, allocations: 0 / 0.9002 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003321/0.01893, allocations: 79.77 kB / 0.9003 GB, free: 14.59 MB / 0.8698 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.0001474/0.01908, allocations: 117.2 kB / 0.9004 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003266/0.01941, allocations: 249.5 kB / 0.9006 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01941, allocations: 0 / 0.9006 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.01953, allocations: 83.56 kB / 0.9007 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.01986, allocations: 38.3 kB / 0.9007 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.02101, allocations: 424.1 kB / 0.9011 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.032e-05/0.02108, allocations: 88.92 kB / 0.9012 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.66e-05/0.02118, allocations: 26.28 kB / 0.9012 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.02133, allocations: 110.2 kB / 0.9013 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of SimCode: time 7.61e-07/0.02133, allocations: 0 / 0.9013 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of Templates: time 0.006719/0.02805, allocations: 3.2 MB / 0.9045 GB, free: 10.28 MB / 0.8698 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.331814667209983]