Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.001712/0.001712, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002144/0.002144, allocations: 214.6 kB / 22.25 MB, free: 5.258 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.809 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.556/3.556, allocations: 0.5569 GB / 0.862 GB, free: 4.238 MB / 0.6544 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.DataCenter.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.DataCenter.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.DataCenter.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.DataCenter.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003051/0.003051, allocations: 67.91 kB / 1.255 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4098, allocations: 193.6 MB / 1.444 GB, free: 15.42 MB / 1.139 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl): time 0.003437/0.4132, allocations: 1.995 MB / 1.446 GB, free: 13.41 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.4146, allocations: 0.6974 MB / 1.447 GB, free: 12.7 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.4147, allocations: 7.938 kB / 1.447 GB, free: 12.7 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.4149, allocations: 39.59 kB / 1.447 GB, free: 12.66 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.415, allocations: 39.59 kB / 1.447 GB, free: 12.62 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.4154, allocations: 163.8 kB / 1.447 GB, free: 12.46 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0004803/0.4159, allocations: 407.2 kB / 1.448 GB, free: 12.06 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003628/0.4163, allocations: 212.5 kB / 1.448 GB, free: 11.84 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.4165, allocations: 147.5 kB / 1.448 GB, free: 11.7 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.4166, allocations: 123.4 kB / 1.448 GB, free: 11.58 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 6.233e-05/0.4167, allocations: 40 kB / 1.448 GB, free: 11.54 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.4168, allocations: 47.98 kB / 1.448 GB, free: 11.49 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.4169, allocations: 83.77 kB / 1.448 GB, free: 11.41 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.4171, allocations: 123.4 kB / 1.448 GB, free: 11.29 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0005483/0.4176, allocations: 446.3 kB / 1.449 GB, free: 10.85 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4176, allocations: 0 / 1.449 GB, free: 10.85 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4176, allocations: 0 / 1.449 GB, free: 10.85 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.4176, allocations: 0 / 1.449 GB, free: 10.85 MB / 1.139 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.001028/0.4186, allocations: 0.5429 MB / 1.449 GB, free: 10.28 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.4187, allocations: 11.97 kB / 1.449 GB, free: 10.27 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000289/0.419, allocations: 48.73 kB / 1.449 GB, free: 10.22 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.4194, allocations: 206.1 kB / 1.45 GB, free: 9.992 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.439e-05/0.4194, allocations: 29.03 kB / 1.45 GB, free: 9.965 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-05/0.4195, allocations: 36.38 kB / 1.45 GB, free: 9.93 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/0.4202, allocations: 329.4 kB / 1.45 GB, free: 9.594 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.4202, allocations: 3.938 kB / 1.45 GB, free: 9.59 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.4202, allocations: 16 kB / 1.45 GB, free: 9.574 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.4203, allocations: 11.98 kB / 1.45 GB, free: 9.562 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/0.4209, allocations: 242.5 kB / 1.45 GB, free: 9.328 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.4223, allocations: 0.7697 MB / 1.451 GB, free: 8.52 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006781/0.423, allocations: 256.8 kB / 1.451 GB, free: 8.262 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.4232, allocations: 108.8 kB / 1.451 GB, free: 8.152 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.4233, allocations: 4 kB / 1.451 GB, free: 8.148 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004023/0.4237, allocations: 171.8 kB / 1.452 GB, free: 7.969 MB / 1.139 GB Notification: Performance of pre-optimization done (n=32): time 1.844e-06/0.4237, allocations: 0 / 1.452 GB, free: 7.969 MB / 1.139 GB Notification: Performance of matching and sorting (n=32): time 0.000891/0.4246, allocations: 357.3 kB / 1.452 GB, free: 7.613 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.4246, allocations: 59.41 kB / 1.452 GB, free: 7.543 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.4248, allocations: 191.1 kB / 1.452 GB, free: 7.34 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.4248, allocations: 45.7 kB / 1.452 GB, free: 7.289 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.425, allocations: 152.8 kB / 1.452 GB, free: 7.137 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 8.207e-05/0.4251, allocations: 91.31 kB / 1.452 GB, free: 7.047 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.4252, allocations: 86.12 kB / 1.452 GB, free: 6.957 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4253, allocations: 330.8 kB / 1.453 GB, free: 6.625 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.4257, allocations: 134.5 kB / 1.453 GB, free: 6.488 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.426, allocations: 198.9 kB / 1.453 GB, free: 6.266 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.4265, allocations: 262.6 kB / 1.453 GB, free: 5.984 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4265, allocations: 0 / 1.453 GB, free: 5.984 MB / 1.139 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007606/0.4273, allocations: 396.6 kB / 1.454 GB, free: 5.578 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.4273, allocations: 37.7 kB / 1.454 GB, free: 5.535 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4273, allocations: 0 / 1.454 GB, free: 5.535 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.4273, allocations: 12.14 kB / 1.454 GB, free: 5.523 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.4276, allocations: 39.91 kB / 1.454 GB, free: 5.484 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.4276, allocations: 4 kB / 1.454 GB, free: 5.48 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.4278, allocations: 55.73 kB / 1.454 GB, free: 5.426 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.4279, allocations: 12 kB / 1.454 GB, free: 5.414 MB / 1.139 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.0002046/0.4281, allocations: 177.7 kB / 1.454 GB, free: 5.234 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.4281, allocations: 23.89 kB / 1.454 GB, free: 5.211 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.831e-05/0.4282, allocations: 26.66 kB / 1.454 GB, free: 5.184 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.4282, allocations: 4 kB / 1.454 GB, free: 5.18 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4282, allocations: 0 / 1.454 GB, free: 5.18 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.4282, allocations: 3.984 kB / 1.454 GB, free: 5.176 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.4294, allocations: 0.6198 MB / 1.455 GB, free: 4.52 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4294, allocations: 4 kB / 1.455 GB, free: 4.516 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.4295, allocations: 31.98 kB / 1.455 GB, free: 4.484 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4295, allocations: 0 / 1.455 GB, free: 4.484 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.4295, allocations: 11.94 kB / 1.455 GB, free: 4.473 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4295, allocations: 0 / 1.455 GB, free: 4.473 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4295, allocations: 0 / 1.455 GB, free: 4.473 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006167/0.4302, allocations: 373.5 kB / 1.455 GB, free: 4.094 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.922e-05/0.4302, allocations: 19.84 kB / 1.455 GB, free: 4.074 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.4302, allocations: 8 kB / 1.455 GB, free: 4.066 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.4305, allocations: 43.89 kB / 1.455 GB, free: 4.023 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.4306, allocations: 43.86 kB / 1.455 GB, free: 3.98 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.4306, allocations: 8 kB / 1.455 GB, free: 3.973 MB / 1.139 GB Notification: Performance of sorting global known variables: time 9.653e-05/0.4307, allocations: 116.9 kB / 1.455 GB, free: 3.859 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.4307, allocations: 0 / 1.455 GB, free: 3.859 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003546/0.4311, allocations: 75.78 kB / 1.455 GB, free: 3.785 MB / 1.139 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.0001518/0.4312, allocations: 125.1 kB / 1.456 GB, free: 3.652 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0006935/0.4319, allocations: 345 kB / 1.456 GB, free: 3.297 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4319, allocations: 0 / 1.456 GB, free: 3.297 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.4322, allocations: 115.8 kB / 1.456 GB, free: 3.184 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.4325, allocations: 39.36 kB / 1.456 GB, free: 3.148 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000885/0.4334, allocations: 452.6 kB / 1.456 GB, free: 2.68 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.4336, allocations: 162.7 kB / 1.457 GB, free: 2.496 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001066/0.4337, allocations: 22.28 kB / 1.457 GB, free: 2.473 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.231e-05/0.4338, allocations: 23.44 kB / 1.457 GB, free: 2.453 MB / 1.139 GB Notification: Performance of SimCode: time 3.4e-07/0.4338, allocations: 4 kB / 1.457 GB, free: 2.449 MB / 1.139 GB Notification: Performance of Templates: time 0.006998/0.4408, allocations: 3.078 MB / 1.46 GB, free: 15.44 MB / 1.154 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.53642800822854]