Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001352/0.001352, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001553/0.001553, allocations: 214.6 kB / 23.01 MB, free: 5.109 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.174/3.174, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002061/0.002061, allocations: 75.98 kB / 1.178 GB, free: 16.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3428, allocations: 180.2 MB / 1.354 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003431/0.3462, allocations: 2.066 MB / 1.356 GB, free: 5.871 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.3476, allocations: 0.7369 MB / 1.357 GB, free: 5.129 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.3478, allocations: 4 kB / 1.357 GB, free: 5.125 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.3479, allocations: 39.55 kB / 1.357 GB, free: 5.086 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.348, allocations: 39.64 kB / 1.357 GB, free: 5.047 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.3485, allocations: 159.8 kB / 1.357 GB, free: 4.891 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005273/0.349, allocations: 419.2 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.3494, allocations: 204.6 kB / 1.358 GB, free: 4.281 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.3496, allocations: 139.5 kB / 1.358 GB, free: 4.145 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.3498, allocations: 151.4 kB / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.536e-05/0.3499, allocations: 40 kB / 1.358 GB, free: 3.957 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.37e-05/0.3499, allocations: 47.98 kB / 1.358 GB, free: 3.91 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.649e-05/0.35, allocations: 83.77 kB / 1.358 GB, free: 3.828 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.3502, allocations: 155.2 kB / 1.358 GB, free: 3.676 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005007/0.3507, allocations: 434.4 kB / 1.359 GB, free: 3.25 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3507, allocations: 4 kB / 1.359 GB, free: 3.246 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3507, allocations: 0 / 1.359 GB, free: 3.246 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.3507, allocations: 3.984 kB / 1.359 GB, free: 3.242 MB / 1.045 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.0009764/0.3517, allocations: 0.5351 MB / 1.359 GB, free: 2.668 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3517, allocations: 12.03 kB / 1.359 GB, free: 2.656 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002768/0.352, allocations: 40.73 kB / 1.359 GB, free: 2.617 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.3524, allocations: 211.3 kB / 1.359 GB, free: 2.387 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/0.3525, allocations: 36.97 kB / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.3525, allocations: 28.38 kB / 1.359 GB, free: 2.324 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006731/0.3532, allocations: 337.4 kB / 1.36 GB, free: 1.984 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3532, allocations: 0 / 1.36 GB, free: 1.984 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.3532, allocations: 11.98 kB / 1.36 GB, free: 1.973 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.3533, allocations: 8 kB / 1.36 GB, free: 1.965 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006091/0.3539, allocations: 254.4 kB / 1.36 GB, free: 1.715 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.3554, allocations: 0.9094 MB / 1.361 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006116/0.356, allocations: 238.9 kB / 1.361 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.3562, allocations: 108.8 kB / 1.361 GB, free: 416 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.3562, allocations: 7.984 kB / 1.361 GB, free: 408 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003829/0.3566, allocations: 179.3 kB / 1.361 GB, free: 216 kB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 1.793e-06/0.3566, allocations: 0 / 1.361 GB, free: 216 kB / 1.045 GB Notification: Performance of matching and sorting (n=32): time 0.0008597/0.3575, allocations: 349.9 kB / 1.362 GB, free: 15.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.3575, allocations: 67.39 kB / 1.362 GB, free: 15.79 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.3577, allocations: 199.5 kB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.3578, allocations: 41.7 kB / 1.362 GB, free: 15.53 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.3579, allocations: 156.8 kB / 1.362 GB, free: 15.37 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.29e-05/0.358, allocations: 83.36 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.3581, allocations: 90.11 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3583, allocations: 334.8 kB / 1.363 GB, free: 14.86 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.3585, allocations: 108.8 kB / 1.363 GB, free: 14.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.3589, allocations: 169.5 kB / 1.363 GB, free: 14.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/0.3594, allocations: 267.1 kB / 1.363 GB, free: 14.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3594, allocations: 3.938 kB / 1.363 GB, free: 14.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007081/0.3601, allocations: 371 kB / 1.364 GB, free: 13.9 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.3601, allocations: 29.7 kB / 1.364 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.3601, allocations: 4 kB / 1.364 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3601, allocations: 0 / 1.364 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.3603, allocations: 43.91 kB / 1.364 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.3603, allocations: 4 kB / 1.364 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.3606, allocations: 59.8 kB / 1.364 GB, free: 13.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.3606, allocations: 12 kB / 1.364 GB, free: 13.75 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.0002058/0.3608, allocations: 186.2 kB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.3609, allocations: 19.86 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.233e-05/0.3609, allocations: 26.66 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3609, allocations: 7.984 kB / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3609, allocations: 4 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.361, allocations: 3.984 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.3622, allocations: 0.7022 MB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3622, allocations: 0 / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.3623, allocations: 27.97 kB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3623, allocations: 3.938 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.3623, allocations: 4 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3623, allocations: 11.94 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3623, allocations: 0 / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005697/0.3629, allocations: 360.2 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.3629, allocations: 23.84 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.363, allocations: 8 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.3632, allocations: 39.89 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.907e-05/0.3633, allocations: 35.94 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.3633, allocations: 12 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001055/0.3634, allocations: 124.1 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3634, allocations: 0 / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000331/0.3638, allocations: 75.83 kB / 1.365 GB, free: 12.02 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.0001412/0.3639, allocations: 117.2 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000647/0.3646, allocations: 315.1 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3646, allocations: 0 / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.3648, allocations: 120.3 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.3652, allocations: 36.3 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009143/0.3661, allocations: 490.8 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.3665, allocations: 0.7603 MB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.909e-05/0.3666, allocations: 23.44 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3666, allocations: 0 / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of Templates: time 0.005797/0.3724, allocations: 3.333 MB / 1.37 GB, free: 6.766 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.147971154015977]