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.001878/0.001878, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002226/0.002226, allocations: 186 kB / 20.78 MB, free: 1.547 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.459/1.459, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.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.783/2.783, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] 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.001957/0.001957, allocations: 67.88 kB / 1.107 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 168.7 MB / 1.272 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.00353/1.012, allocations: 2.053 MB / 1.274 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001337/1.014, allocations: 0.6829 MB / 1.275 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/1.014, allocations: 8.906 kB / 1.275 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001576/1.014, allocations: 36.8 kB / 1.275 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/1.014, allocations: 39.08 kB / 1.275 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/1.014, allocations: 154.9 kB / 1.275 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005009/1.015, allocations: 413.3 kB / 1.275 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003506/1.015, allocations: 207.8 kB / 1.275 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/1.015, allocations: 139 kB / 1.276 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/1.016, allocations: 146.5 kB / 1.276 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.648e-05/1.016, allocations: 39.53 kB / 1.276 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/1.016, allocations: 48.56 kB / 1.276 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.785e-05/1.016, allocations: 85.81 kB / 1.276 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001377/1.016, allocations: 155.1 kB / 1.276 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005291/1.017, allocations: 433.5 kB / 1.276 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.017, allocations: 0 / 1.276 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/1.017, allocations: 1.031 kB / 1.276 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.845e-06/1.017, allocations: 4 kB / 1.276 GB, free: 5.027 MB / 0.9981 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.000949/1.018, allocations: 0.6059 MB / 1.277 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/1.018, allocations: 10.58 kB / 1.277 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.806e-05/1.018, allocations: 32.94 kB / 1.277 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/1.018, allocations: 278 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/1.018, allocations: 27.72 kB / 1.277 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/1.018, allocations: 35.19 kB / 1.277 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006482/1.019, allocations: 338.4 kB / 1.278 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/1.019, allocations: 0.9062 kB / 1.278 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/1.019, allocations: 10.44 kB / 1.278 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/1.019, allocations: 7.031 kB / 1.278 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/1.019, allocations: 251.1 kB / 1.278 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/1.021, allocations: 0.9594 MB / 1.279 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000642/1.021, allocations: 252.1 kB / 1.279 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/1.022, allocations: 108.5 kB / 1.279 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/1.022, allocations: 6.938 kB / 1.279 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004129/1.022, allocations: 179.8 kB / 1.279 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 1.954e-06/1.022, allocations: 0 / 1.279 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=32): time 0.0008698/1.023, allocations: 348.3 kB / 1.28 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/1.023, allocations: 65.11 kB / 1.28 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/1.023, allocations: 206.4 kB / 1.28 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/1.023, allocations: 40.59 kB / 1.28 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/1.023, allocations: 161.7 kB / 1.28 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/1.023, allocations: 82.23 kB / 1.28 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/1.024, allocations: 93.06 kB / 1.28 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.502e-05/1.024, allocations: 335.5 kB / 1.281 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/1.024, allocations: 109.1 kB / 1.281 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/1.024, allocations: 169.6 kB / 1.281 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004461/1.025, allocations: 254.4 kB / 1.281 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.025, allocations: 0 / 1.281 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006497/1.025, allocations: 376.1 kB / 1.282 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/1.025, allocations: 31.45 kB / 1.282 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.025, allocations: 6.562 kB / 1.282 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/1.025, allocations: 7.359 kB / 1.282 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/1.026, allocations: 48.59 kB / 1.282 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/1.026, allocations: 3.625 kB / 1.282 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/1.026, allocations: 51 kB / 1.282 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/1.026, allocations: 16.55 kB / 1.282 GB, free: 1.543 MB / 0.9981 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.0001469/1.026, allocations: 180.9 kB / 1.282 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/1.026, allocations: 24.05 kB / 1.282 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00062/1.027, allocations: 297.1 kB / 1.282 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.027, allocations: 4.047 kB / 1.282 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/1.027, allocations: 0 / 1.282 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/1.027, allocations: 5.5 kB / 1.282 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/1.028, allocations: 0.7458 MB / 1.283 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.028, allocations: 4.688 kB / 1.283 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/1.028, allocations: 33.69 kB / 1.283 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.028, allocations: 1.531 kB / 1.283 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/1.028, allocations: 8.047 kB / 1.283 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/1.028, allocations: 5.125 kB / 1.283 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.028, allocations: 4.609 kB / 1.283 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/1.028, allocations: 372.5 kB / 1.283 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/1.028, allocations: 103.7 kB / 1.283 GB, free: 424 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/1.028, allocations: 7.109 kB / 1.283 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/1.029, allocations: 39.05 kB / 1.284 GB, free: 408 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/1.029, allocations: 41 kB / 1.284 GB, free: 396 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/1.029, allocations: 7.016 kB / 1.284 GB, free: 396 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.754e-05/1.029, allocations: 135.7 kB / 1.284 GB, free: 300 kB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.029, allocations: 0 / 1.284 GB, free: 300 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003359/1.029, allocations: 72.45 kB / 1.284 GB, free: 276 kB / 0.9981 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.0001584/1.029, allocations: 128.3 kB / 1.284 GB, free: 168 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006207/1.03, allocations: 316.4 kB / 1.284 GB, free: 24 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.03, allocations: 0 / 1.284 GB, free: 24 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002955/1.03, allocations: 124.2 kB / 1.284 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/1.031, allocations: 37.69 kB / 1.284 GB, free: 15.96 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000949/1.032, allocations: 470.3 kB / 1.285 GB, free: 15.68 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/1.032, allocations: 0.7607 MB / 1.286 GB, free: 14.97 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000114/1.032, allocations: 25.45 kB / 1.286 GB, free: 14.97 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.004e-05/1.032, allocations: 29.11 kB / 1.286 GB, free: 14.96 MB / 1.014 GB Notification: Performance of SimCode: time 6.52e-07/1.032, allocations: 4.562 kB / 1.286 GB, free: 14.96 MB / 1.014 GB Notification: Performance of Templates: time 0.008028/1.04, allocations: 3.239 MB / 1.289 GB, free: 14.69 MB / 1.014 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 -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: 9.118158197030425]