Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001599/0.001599, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001798/0.001798, allocations: 188.8 kB / 22.23 MB, free: 5.105 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.538/1.538, allocations: 225.6 MB / 251 MB, free: 13.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.601/2.601, allocations: 443.5 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 71.81 kB / 1.061 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7512/0.7534, allocations: 160.8 MB / 1.218 GB, free: 3.742 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003858/0.7572, allocations: 2.044 MB / 1.22 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.7588, allocations: 0.7003 MB / 1.221 GB, free: 1.59 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.7589, allocations: 7.469 kB / 1.221 GB, free: 1.586 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.7591, allocations: 31.02 kB / 1.221 GB, free: 1.559 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.7592, allocations: 39.84 kB / 1.221 GB, free: 1.523 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005587/0.7598, allocations: 164.7 kB / 1.221 GB, free: 1.383 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005768/0.7603, allocations: 412.9 kB / 1.222 GB, free: 1.129 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003661/0.7607, allocations: 201.6 kB / 1.222 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.7609, allocations: 148.8 kB / 1.222 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.7611, allocations: 145.8 kB / 1.222 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.814e-05/0.7612, allocations: 39.66 kB / 1.222 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.7613, allocations: 51.64 kB / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.501e-05/0.7614, allocations: 76.14 kB / 1.222 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.7616, allocations: 161 kB / 1.223 GB, free: 0.582 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005524/0.7621, allocations: 437.1 kB / 1.223 GB, free: 252 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.7621, allocations: 1.094 kB / 1.223 GB, free: 252 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7621, allocations: 0 / 1.223 GB, free: 252 kB / 0.92 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.7621, allocations: 0 / 1.223 GB, free: 252 kB / 0.92 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.001075/0.7632, allocations: 0.6096 MB / 1.224 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.7633, allocations: 9.5 kB / 1.224 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.395e-05/0.7634, allocations: 37.53 kB / 1.224 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.7638, allocations: 274.2 kB / 1.224 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.7638, allocations: 27.91 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/0.7639, allocations: 34.38 kB / 1.224 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006899/0.7646, allocations: 336.3 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.7646, allocations: 3.984 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.7646, allocations: 11.19 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.7647, allocations: 11.34 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000602/0.7653, allocations: 257.1 kB / 1.225 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.7669, allocations: 0.9533 MB / 1.225 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006487/0.7675, allocations: 247.9 kB / 1.226 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.7678, allocations: 118.4 kB / 1.226 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.7678, allocations: 2.469 kB / 1.226 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004016/0.7682, allocations: 187.3 kB / 1.226 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=32): time 1.854e-06/0.7682, allocations: 0 / 1.226 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32): time 0.0008743/0.7691, allocations: 350.9 kB / 1.226 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.7691, allocations: 65.02 kB / 1.226 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.7694, allocations: 203.3 kB / 1.227 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/0.7694, allocations: 40.2 kB / 1.227 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.7695, allocations: 157.3 kB / 1.227 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.441e-05/0.7696, allocations: 79.44 kB / 1.227 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.7697, allocations: 91.88 kB / 1.227 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.7699, allocations: 340.3 kB / 1.227 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.7702, allocations: 109.6 kB / 1.227 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.7705, allocations: 165.9 kB / 1.228 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004859/0.771, allocations: 265.7 kB / 1.228 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.771, allocations: 0 / 1.228 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007205/0.7717, allocations: 367.8 kB / 1.228 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/0.7717, allocations: 36.34 kB / 1.228 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.7717, allocations: 1.281 kB / 1.228 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.7718, allocations: 3.281 kB / 1.228 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.772, allocations: 44.5 kB / 1.228 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.772, allocations: 2.906 kB / 1.228 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.7722, allocations: 53.53 kB / 1.228 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.7723, allocations: 17.95 kB / 1.228 GB, free: 12.15 MB / 0.9356 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.0001939/0.7725, allocations: 183.5 kB / 1.228 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.7725, allocations: 21.52 kB / 1.228 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006365/0.7731, allocations: 298.9 kB / 1.229 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.7732, allocations: 3.906 kB / 1.229 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7732, allocations: 4 kB / 1.229 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.7732, allocations: 1.469 kB / 1.229 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.7743, allocations: 0.7401 MB / 1.229 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.7743, allocations: 0 / 1.229 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.7745, allocations: 36.73 kB / 1.23 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.7745, allocations: 5.094 kB / 1.23 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.7745, allocations: 10.27 kB / 1.23 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.7745, allocations: 5.031 kB / 1.23 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7745, allocations: 1.094 kB / 1.23 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006315/0.7751, allocations: 376.5 kB / 1.23 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.993e-05/0.7752, allocations: 106.8 kB / 1.23 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.7753, allocations: 10.75 kB / 1.23 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.7755, allocations: 36.11 kB / 1.23 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.7756, allocations: 46.22 kB / 1.23 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.7756, allocations: 7.312 kB / 1.23 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001175/0.7758, allocations: 135.7 kB / 1.23 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.7758, allocations: 4 kB / 1.23 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003446/0.7761, allocations: 69.33 kB / 1.23 GB, free: 10.64 MB / 0.9356 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.0001772/0.7763, allocations: 118.9 kB / 1.23 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006904/0.777, allocations: 324.1 kB / 1.231 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.777, allocations: 320 / 1.231 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.7773, allocations: 119.9 kB / 1.231 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.7776, allocations: 27.98 kB / 1.231 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009434/0.7785, allocations: 480.4 kB / 1.231 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.779, allocations: 0.7564 MB / 1.232 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00011/0.7791, allocations: 30.28 kB / 1.232 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.7e-05/0.7792, allocations: 31.42 kB / 1.232 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.7792, allocations: 0 / 1.232 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of Templates: time 0.007883/0.787, allocations: 3.3 MB / 1.235 GB, free: 5.512 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.748346391133964]