Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009821/0.0009821, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001011/0.001011, allocations: 161 kB / 23.82 MB, free: 0.7461 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.8763/0.8763, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.74/1.74, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.7871 GB, free: 11.41 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.149e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002856/0.002887, allocations: 2.074 MB / 0.7891 GB, free: 9.336 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.003978, allocations: 0.7114 MB / 0.7898 GB, free: 8.621 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.004107, allocations: 7.938 kB / 0.7898 GB, free: 8.613 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.004253, allocations: 37.17 kB / 0.7898 GB, free: 8.578 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.514e-05/0.004348, allocations: 35.59 kB / 0.7899 GB, free: 8.543 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.0048, allocations: 172.9 kB / 0.79 GB, free: 8.375 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004338/0.005234, allocations: 419.1 kB / 0.7904 GB, free: 7.965 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.005536, allocations: 214.4 kB / 0.7907 GB, free: 7.758 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.00579, allocations: 207.5 kB / 0.7909 GB, free: 7.555 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.005936, allocations: 116.2 kB / 0.791 GB, free: 7.441 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.307e-05/0.005979, allocations: 40 kB / 0.791 GB, free: 7.402 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.852e-05/0.006057, allocations: 45.16 kB / 0.791 GB, free: 7.359 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.069e-05/0.006128, allocations: 87.72 kB / 0.7911 GB, free: 7.273 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.716e-05/0.006215, allocations: 99.8 kB / 0.7912 GB, free: 7.176 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.006565, allocations: 271.5 kB / 0.7915 GB, free: 6.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.006569, allocations: 0.6875 kB / 0.7915 GB, free: 6.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.006571, allocations: 0 / 0.7915 GB, free: 6.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.006576, allocations: 0.9062 kB / 0.7915 GB, free: 6.91 MB / 0.698 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.000678/0.007254, allocations: 0.6237 MB / 0.7921 GB, free: 6.242 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.007298, allocations: 13.62 kB / 0.7921 GB, free: 6.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.007529, allocations: 64.73 kB / 0.7922 GB, free: 6.168 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.007774, allocations: 218.9 kB / 0.7924 GB, free: 5.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/0.00781, allocations: 29.03 kB / 0.7924 GB, free: 5.902 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.007844, allocations: 35.81 kB / 0.7924 GB, free: 5.871 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.008257, allocations: 264 kB / 0.7927 GB, free: 5.598 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.008269, allocations: 4.125 kB / 0.7927 GB, free: 5.594 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.008292, allocations: 12.38 kB / 0.7927 GB, free: 5.582 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.008305, allocations: 7.938 kB / 0.7927 GB, free: 5.574 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.008527, allocations: 119.8 kB / 0.7928 GB, free: 5.457 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.009537, allocations: 0.8425 MB / 0.7936 GB, free: 4.574 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.009794, allocations: 161.7 kB / 0.7938 GB, free: 4.406 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.496e-05/0.009879, allocations: 71.64 kB / 0.7939 GB, free: 4.332 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.009899, allocations: 8 kB / 0.7939 GB, free: 4.324 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.01008, allocations: 142 kB / 0.794 GB, free: 4.172 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 1.983e-06/0.01009, allocations: 0 / 0.794 GB, free: 4.172 MB / 0.698 GB Notification: Performance of matching and sorting (n=32): time 0.0003621/0.01045, allocations: 242.2 kB / 0.7942 GB, free: 3.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.01048, allocations: 56.31 kB / 0.7943 GB, free: 3.863 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.01062, allocations: 255.8 kB / 0.7945 GB, free: 3.594 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.01065, allocations: 38.27 kB / 0.7946 GB, free: 3.551 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.832e-05/0.01074, allocations: 203.5 kB / 0.7948 GB, free: 3.348 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.01079, allocations: 88.44 kB / 0.7949 GB, free: 3.262 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.792e-05/0.01087, allocations: 87.84 kB / 0.7949 GB, free: 3.168 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.011, allocations: 0.5079 MB / 0.7954 GB, free: 2.648 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.01111, allocations: 79.44 kB / 0.7955 GB, free: 2.566 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.01124, allocations: 156.8 kB / 0.7957 GB, free: 2.383 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.01143, allocations: 202.2 kB / 0.7959 GB, free: 2.156 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01143, allocations: 0 / 0.7959 GB, free: 2.156 MB / 0.698 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003402/0.01177, allocations: 321.3 kB / 0.7962 GB, free: 1.824 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/0.01181, allocations: 39.08 kB / 0.7962 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01182, allocations: 0 / 0.7962 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.01184, allocations: 4 kB / 0.7962 GB, free: 1.777 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.01198, allocations: 43.91 kB / 0.7962 GB, free: 1.734 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.01199, allocations: 4.656 kB / 0.7962 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.0121, allocations: 49.69 kB / 0.7963 GB, free: 1.684 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.01212, allocations: 16 kB / 0.7963 GB, free: 1.668 MB / 0.698 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.0001369/0.01226, allocations: 193.8 kB / 0.7965 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.01229, allocations: 35.8 kB / 0.7965 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/0.01235, allocations: 35.8 kB / 0.7966 GB, free: 1.402 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.01235, allocations: 4 kB / 0.7966 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.01236, allocations: 0 / 0.7966 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01236, allocations: 0.625 kB / 0.7966 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.01297, allocations: 0.5939 MB / 0.7971 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01297, allocations: 0 / 0.7971 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.656e-05/0.01303, allocations: 29.11 kB / 0.7972 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01304, allocations: 0 / 0.7972 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.01305, allocations: 11.94 kB / 0.7972 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01306, allocations: 1.031 kB / 0.7972 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01306, allocations: 0 / 0.7972 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.01333, allocations: 360.9 kB / 0.7975 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.01335, allocations: 24.64 kB / 0.7976 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.01337, allocations: 8 kB / 0.7976 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.01346, allocations: 22.19 kB / 0.7976 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/0.01354, allocations: 35.94 kB / 0.7976 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.01355, allocations: 12 kB / 0.7976 GB, free: 264 kB / 0.698 GB Notification: Performance of sorting global known variables: time 6.153e-05/0.01362, allocations: 151.9 kB / 0.7978 GB, free: 112 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.01362, allocations: 2.781 kB / 0.7978 GB, free: 112 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002111/0.01383, allocations: 63.89 kB / 0.7978 GB, free: 48 kB / 0.698 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.0001517/0.01398, allocations: 117.2 kB / 0.798 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000351/0.01433, allocations: 270.9 kB / 0.7982 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01433, allocations: 0 / 0.7982 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.01445, allocations: 99.52 kB / 0.7983 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.01471, allocations: 45.95 kB / 0.7983 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008537/0.01557, allocations: 433 kB / 0.7988 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.26e-05/0.01565, allocations: 84.94 kB / 0.7988 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.86e-05/0.01573, allocations: 25.12 kB / 0.7989 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.01579, allocations: 28.47 kB / 0.7989 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of SimCode: time 8.51e-07/0.01579, allocations: 0 / 0.7989 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of Templates: time 0.005266/0.02106, allocations: 3.087 MB / 0.8019 GB, free: 11.85 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.8598453206941485]