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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002102/0.002102, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.91/2.91, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002129/0.002129, allocations: 63.89 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8285/0.8306, allocations: 168.7 MB / 1.274 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.004149/0.8348, allocations: 2.04 MB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.8362, allocations: 0.678 MB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.8363, allocations: 7.938 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.8365, allocations: 35.59 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.8366, allocations: 47.53 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005142/0.8372, allocations: 159.8 kB / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005604/0.8377, allocations: 411.1 kB / 1.277 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003722/0.8381, allocations: 202.5 kB / 1.278 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.8383, allocations: 139.5 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.8385, allocations: 151.3 kB / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.027e-05/0.8386, allocations: 40 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.8387, allocations: 48 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.952e-05/0.8388, allocations: 79.81 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.8389, allocations: 163.2 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005696/0.8395, allocations: 434.5 kB / 1.279 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8395, allocations: 3.938 kB / 1.279 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8395, allocations: 0 / 1.279 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.8395, allocations: 0 / 1.279 GB, free: 15.92 MB / 0.9825 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.001114/0.8406, allocations: 0.5987 MB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.8407, allocations: 16.03 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.446e-05/0.8408, allocations: 32.75 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/0.8413, allocations: 275.8 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.332e-05/0.8413, allocations: 25.03 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.742e-05/0.8414, allocations: 36.38 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006946/0.842, allocations: 337.2 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.8421, allocations: 7.938 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.8421, allocations: 12 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.8421, allocations: 8 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005859/0.8427, allocations: 246.1 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.8443, allocations: 0.9593 MB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007018/0.845, allocations: 250.9 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.8453, allocations: 116.7 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.8453, allocations: 4 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004115/0.8457, allocations: 175.8 kB / 1.282 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=32): time 3.085e-06/0.8457, allocations: 8 kB / 1.282 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32): time 0.0008842/0.8466, allocations: 353.3 kB / 1.282 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.8466, allocations: 59.41 kB / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.8469, allocations: 199.4 kB / 1.282 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.8469, allocations: 45.69 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.847, allocations: 156.8 kB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.8472, allocations: 83.38 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.8473, allocations: 94.06 kB / 1.282 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.8475, allocations: 334.8 kB / 1.283 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.8477, allocations: 108.8 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.848, allocations: 169.4 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.8485, allocations: 258.6 kB / 1.283 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8485, allocations: 0 / 1.283 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007631/0.8493, allocations: 378.7 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/0.8493, allocations: 33.7 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.8494, allocations: 0 / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.8494, allocations: 4 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.8496, allocations: 43.91 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.8496, allocations: 7.984 kB / 1.284 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.8499, allocations: 51.91 kB / 1.284 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.8499, allocations: 16 kB / 1.284 GB, free: 10.2 MB / 0.9825 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.0002056/0.8501, allocations: 181.6 kB / 1.284 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.8501, allocations: 27.86 kB / 1.284 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006481/0.8508, allocations: 292.9 kB / 1.284 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.8508, allocations: 0 / 1.284 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8508, allocations: 4 kB / 1.284 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.8508, allocations: 3.984 kB / 1.284 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.852, allocations: 0.7487 MB / 1.285 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.852, allocations: 0 / 1.285 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.8522, allocations: 35.92 kB / 1.285 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.8522, allocations: 0 / 1.285 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.8522, allocations: 11.92 kB / 1.285 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.77e-06/0.8522, allocations: 7.938 kB / 1.285 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8522, allocations: 0 / 1.285 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000623/0.8528, allocations: 376.2 kB / 1.285 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.861e-05/0.8529, allocations: 104.9 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.8529, allocations: 4 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.8532, allocations: 31.91 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.8533, allocations: 39.95 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.8533, allocations: 11.98 kB / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001215/0.8534, allocations: 135.8 kB / 1.286 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8534, allocations: 0 / 1.286 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003479/0.8538, allocations: 71.83 kB / 1.286 GB, free: 8.039 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.active,wseCon.off.active,$cse1,$cse2,$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 (34): * Single equations (assignments): 28 * 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.0002149/0.854, allocations: 121.4 kB / 1.286 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007105/0.8547, allocations: 323.2 kB / 1.286 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8547, allocations: 0 / 1.286 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.855, allocations: 119.9 kB / 1.286 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.8553, allocations: 35.86 kB / 1.286 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009688/0.8563, allocations: 476.3 kB / 1.287 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.8567, allocations: 0.7605 MB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001073/0.8568, allocations: 30.28 kB / 1.288 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.638e-05/0.8569, allocations: 27.44 kB / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.8569, allocations: 0 / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of Templates: time 0.007568/0.8645, allocations: 3.231 MB / 1.291 GB, free: 2.875 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.996583972126245]