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.0008305/0.0008305, allocations: 80.48 kB / 19.93 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.0007707/0.0007707, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8723/0.8723, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.62/1.62, allocations: 359 MB / 0.6044 GB, free: 11.11 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.152e-06/1.152e-06, allocations: 0 / 0.9517 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.439e-05, allocations: 2.281 kB / 0.9517 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.00225/0.002274, allocations: 1.994 MB / 0.9537 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.0008357/0.00311, allocations: 0.6973 MB / 0.9544 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.84e-05/0.003208, allocations: 4 kB / 0.9544 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.003318, allocations: 31.61 kB / 0.9544 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.003461, allocations: 47.53 kB / 0.9544 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.003764, allocations: 163.7 kB / 0.9546 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.00406, allocations: 419.1 kB / 0.955 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.004305, allocations: 200.6 kB / 0.9552 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.004501, allocations: 211.5 kB / 0.9554 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.004624, allocations: 107.7 kB / 0.9555 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.00466, allocations: 44 kB / 0.9555 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.307e-05/0.004723, allocations: 44 kB / 0.9556 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.004782, allocations: 87.72 kB / 0.9557 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 7.197e-05/0.004854, allocations: 103.7 kB / 0.9558 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.00517, allocations: 446.6 kB / 0.9562 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.005172, allocations: 0 / 0.9562 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005173, allocations: 0 / 0.9562 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.005177, allocations: 0 / 0.9562 GB, free: 13.27 MB / 0.8698 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.0006103/0.005787, allocations: 0.5429 MB / 0.9567 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.005817, allocations: 12.03 kB / 0.9567 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.005985, allocations: 48.73 kB / 0.9568 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.006243, allocations: 201.3 kB / 0.957 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.006275, allocations: 29.03 kB / 0.957 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.006313, allocations: 36.38 kB / 0.957 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.006722, allocations: 329.5 kB / 0.9573 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.006732, allocations: 192 / 0.9573 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.006753, allocations: 12.38 kB / 0.9574 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.00676, allocations: 11.94 kB / 0.9574 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.007083, allocations: 250.5 kB / 0.9576 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008231/0.007906, allocations: 0.7735 MB / 0.9584 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.008254, allocations: 246.9 kB / 0.9586 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.008387, allocations: 104.8 kB / 0.9587 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.008404, allocations: 7.984 kB / 0.9587 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.008629, allocations: 183.1 kB / 0.9589 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=32): time 1.403e-06/0.008631, allocations: 4 kB / 0.9589 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of matching and sorting (n=32): time 0.0005056/0.009136, allocations: 351.5 kB / 0.9592 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.009177, allocations: 63.34 kB / 0.9593 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.009294, allocations: 179.2 kB / 0.9594 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.00933, allocations: 49.69 kB / 0.9595 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.009406, allocations: 160.6 kB / 0.9596 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.00945, allocations: 79.38 kB / 0.9597 GB, free: 9.473 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.298e-05/0.009533, allocations: 94.12 kB / 0.9598 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.825e-05/0.009612, allocations: 334.8 kB / 0.9601 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.009788, allocations: 130.7 kB / 0.9603 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.009969, allocations: 207.5 kB / 0.9605 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.01024, allocations: 254.7 kB / 0.9607 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01024, allocations: 0 / 0.9607 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003937/0.01064, allocations: 392.6 kB / 0.9611 GB, free: 8.004 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.01066, allocations: 41.69 kB / 0.9611 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.01067, allocations: 3.938 kB / 0.9611 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.01068, allocations: 4 kB / 0.9611 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.01079, allocations: 40.06 kB / 0.9612 GB, free: 7.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.01079, allocations: 4 kB / 0.9612 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.01091, allocations: 59.69 kB / 0.9612 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.01093, allocations: 12 kB / 0.9612 GB, free: 7.836 MB / 0.8698 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.0001164/0.01104, allocations: 169.8 kB / 0.9614 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.01106, allocations: 27.84 kB / 0.9614 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.0111, allocations: 30.64 kB / 0.9614 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.0111, allocations: 4 kB / 0.9615 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01111, allocations: 0 / 0.9615 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01111, allocations: 0 / 0.9615 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/0.01171, allocations: 0.6198 MB / 0.9621 GB, free: 6.945 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01171, allocations: 0 / 0.9621 GB, free: 6.945 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.627e-05/0.01177, allocations: 35.91 kB / 0.9621 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01178, allocations: 7.984 kB / 0.9621 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.01179, allocations: 8 kB / 0.9621 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01179, allocations: 0 / 0.9621 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01179, allocations: 0 / 0.9621 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.0121, allocations: 360.8 kB / 0.9625 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.01212, allocations: 23.83 kB / 0.9625 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.01214, allocations: 8 kB / 0.9625 GB, free: 6.496 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.01224, allocations: 35.97 kB / 0.9625 GB, free: 6.461 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.493e-05/0.01232, allocations: 43.88 kB / 0.9626 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.01233, allocations: 11.98 kB / 0.9626 GB, free: 6.406 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.605e-05/0.01239, allocations: 120.9 kB / 0.9627 GB, free: 6.289 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.01239, allocations: 0 / 0.9627 GB, free: 6.289 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001947/0.01258, allocations: 71.84 kB / 0.9628 GB, free: 6.219 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.0001134/0.0127, allocations: 117.2 kB / 0.9629 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003863/0.01308, allocations: 349 kB / 0.9632 GB, free: 5.734 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01308, allocations: 0 / 0.9632 GB, free: 5.734 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.01322, allocations: 119.8 kB / 0.9633 GB, free: 5.617 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.01343, allocations: 29.61 kB / 0.9633 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.01396, allocations: 477 kB / 0.9638 GB, free: 5.094 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.973e-05/0.01405, allocations: 150.8 kB / 0.9639 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.01411, allocations: 24.5 kB / 0.964 GB, free: 4.898 MB / 0.8698 GB Notification: Performance of SimCode: time 3.9e-07/0.01411, allocations: 0 / 0.964 GB, free: 4.898 MB / 0.8698 GB Notification: Performance of Templates: time 0.003256/0.01736, allocations: 3.326 MB / 0.9672 GB, free: 1.578 MB / 0.8698 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.263764920644462]