Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001642/0.001642, allocations: 117.8 kB / 17.13 MB, free: 6.004 MB / 14.72 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.002018/0.002018, allocations: 217.8 kB / 20.1 MB, free: 3.051 MB / 14.72 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 1.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.986/2.986, allocations: 0.49 GB / 0.7923 GB, free: 1.266 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 71.89 kB / 1.15 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9265/0.9286, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002867/0.9315, allocations: 2.048 MB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.9326, allocations: 0.7189 MB / 1.325 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.9327, allocations: 6.688 kB / 1.325 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.9328, allocations: 40.64 kB / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.003e-05/0.9329, allocations: 40.39 kB / 1.325 GB, free: 23.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.9333, allocations: 157.3 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003503/0.9337, allocations: 408.1 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002795/0.9339, allocations: 210.4 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.9341, allocations: 145.8 kB / 1.326 GB, free: 22.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.9342, allocations: 142.4 kB / 1.326 GB, free: 22.51 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.9343, allocations: 44.88 kB / 1.326 GB, free: 22.51 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-05/0.9343, allocations: 49.56 kB / 1.326 GB, free: 22.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.142e-05/0.9344, allocations: 84.62 kB / 1.326 GB, free: 22.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.9345, allocations: 158.6 kB / 1.326 GB, free: 22.33 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003817/0.9349, allocations: 425.3 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.9349, allocations: 0 / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9349, allocations: 6.531 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.9349, allocations: 0 / 1.326 GB, free: 22.16 MB / 1.061 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.0008358/0.9358, allocations: 0.6161 MB / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.9358, allocations: 7.844 kB / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.9361, allocations: 46.05 kB / 1.327 GB, free: 21.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.9364, allocations: 263.3 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.498e-05/0.9365, allocations: 35.03 kB / 1.327 GB, free: 21.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.977e-05/0.9365, allocations: 34.88 kB / 1.327 GB, free: 21.33 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/0.9372, allocations: 333.3 kB / 1.328 GB, free: 21.17 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.9372, allocations: 0.5312 kB / 1.328 GB, free: 21.17 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.9373, allocations: 10.84 kB / 1.328 GB, free: 21.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.9373, allocations: 7.594 kB / 1.328 GB, free: 21.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006093/0.9379, allocations: 245.9 kB / 1.328 GB, free: 21.08 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.9394, allocations: 0.9398 MB / 1.329 GB, free: 20.44 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/0.94, allocations: 251.4 kB / 1.329 GB, free: 20.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.9403, allocations: 108.2 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.9403, allocations: 2.938 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004037/0.9407, allocations: 184.7 kB / 1.329 GB, free: 20.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=32): time 2.154e-06/0.9407, allocations: 0 / 1.329 GB, free: 20.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=32): time 0.000884/0.9416, allocations: 351.2 kB / 1.33 GB, free: 20.06 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.9417, allocations: 57.73 kB / 1.33 GB, free: 20 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.9419, allocations: 202.2 kB / 1.33 GB, free: 19.85 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.9419, allocations: 44.52 kB / 1.33 GB, free: 19.81 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.801e-05/0.942, allocations: 154 kB / 1.33 GB, free: 19.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.095e-05/0.942, allocations: 81.66 kB / 1.33 GB, free: 19.61 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.9422, allocations: 86.58 kB / 1.33 GB, free: 19.56 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.693e-05/0.9422, allocations: 339.9 kB / 1.331 GB, free: 19.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.9425, allocations: 111.8 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.9428, allocations: 168.9 kB / 1.331 GB, free: 19.1 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/0.9433, allocations: 262.3 kB / 1.331 GB, free: 18.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.9433, allocations: 0 / 1.331 GB, free: 18.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007278/0.944, allocations: 372.8 kB / 1.332 GB, free: 18.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.944, allocations: 34.33 kB / 1.332 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.9441, allocations: 1.312 kB / 1.332 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.9441, allocations: 3.938 kB / 1.332 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.9443, allocations: 50.39 kB / 1.332 GB, free: 18.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.9443, allocations: 7.031 kB / 1.332 GB, free: 18.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.9446, allocations: 60.19 kB / 1.332 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.9446, allocations: 15.08 kB / 1.332 GB, free: 18.67 MB / 1.061 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.0001677/0.9448, allocations: 173.9 kB / 1.332 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.9448, allocations: 23 kB / 1.332 GB, free: 18.51 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.995e-05/0.9449, allocations: 31.58 kB / 1.332 GB, free: 18.49 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.9449, allocations: 3.281 kB / 1.332 GB, free: 18.49 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.9449, allocations: 1.125 kB / 1.332 GB, free: 18.49 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.9449, allocations: 6.203 kB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.946, allocations: 0.7228 MB / 1.333 GB, free: 18.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.946, allocations: 0.875 kB / 1.333 GB, free: 18.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.9462, allocations: 30.02 kB / 1.333 GB, free: 18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.9462, allocations: 1.5 kB / 1.333 GB, free: 18 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.9462, allocations: 6.719 kB / 1.333 GB, free: 18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.9462, allocations: 5.312 kB / 1.333 GB, free: 18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9462, allocations: 4.656 kB / 1.333 GB, free: 17.99 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/0.9468, allocations: 356.3 kB / 1.333 GB, free: 17.79 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.9469, allocations: 101.1 kB / 1.333 GB, free: 17.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.9469, allocations: 7.203 kB / 1.333 GB, free: 17.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.9471, allocations: 38.88 kB / 1.333 GB, free: 17.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.9473, allocations: 35.11 kB / 1.333 GB, free: 17.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.9473, allocations: 11.41 kB / 1.333 GB, free: 17.65 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001014/0.9474, allocations: 135.6 kB / 1.333 GB, free: 17.56 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9474, allocations: 0 / 1.333 GB, free: 17.56 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003449/0.9477, allocations: 68.48 kB / 1.333 GB, free: 17.54 MB / 1.061 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.0001467/0.9479, allocations: 132.3 kB / 1.334 GB, free: 17.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006898/0.9486, allocations: 313.5 kB / 1.334 GB, free: 17.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.9486, allocations: 3.938 kB / 1.334 GB, free: 17.28 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002643/0.9488, allocations: 117.7 kB / 1.334 GB, free: 17.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.9492, allocations: 42.2 kB / 1.334 GB, free: 17.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000892/0.9501, allocations: 482.8 kB / 1.335 GB, free: 16.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.9503, allocations: 0.755 MB / 1.335 GB, free: 16.21 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.9504, allocations: 33.11 kB / 1.335 GB, free: 16.19 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.9504, allocations: 0.5 kB / 1.335 GB, free: 16.19 MB / 1.061 GB Notification: Performance of Templates: time 0.00685/0.9573, allocations: 3.323 MB / 1.339 GB, free: 15.81 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.698909221988288]