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.001459/0.001459, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001876/0.001876, allocations: 218.5 kB / 23.01 MB, free: 4.609 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 8.055 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 3.153/3.153, allocations: 0.49 GB / 0.7958 GB, free: 33.48 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.002064/0.002064, allocations: 70.61 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.456/0.4581, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.00366/0.4617, allocations: 2.061 MB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.4631, allocations: 0.7442 MB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.4632, allocations: 11.88 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.4634, allocations: 35.59 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.4635, allocations: 39.59 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.464, allocations: 163.8 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005195/0.4645, allocations: 415.2 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000366/0.4648, allocations: 209.5 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.465, allocations: 135.6 kB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.4652, allocations: 151.3 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.351e-05/0.4653, allocations: 40 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.462e-05/0.4654, allocations: 51.98 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.619e-05/0.4655, allocations: 79.77 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.4656, allocations: 151.2 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005185/0.4662, allocations: 442.3 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4662, allocations: 0 / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4662, allocations: 0 / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.4662, allocations: 4 kB / 1.332 GB, free: 12.77 MB / 1.029 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.0009527/0.4671, allocations: 0.5368 MB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4672, allocations: 12.03 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/0.4674, allocations: 52.67 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.4678, allocations: 206.9 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.4679, allocations: 29.03 kB / 1.333 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.523e-05/0.4679, allocations: 36.38 kB / 1.333 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/0.4686, allocations: 333.4 kB / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.4686, allocations: 0 / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.4686, allocations: 11.98 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.4686, allocations: 8 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005671/0.4692, allocations: 254.4 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.4707, allocations: 0.8977 MB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006125/0.4713, allocations: 244.8 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.4715, allocations: 112.8 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.4715, allocations: 4 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003756/0.4719, allocations: 179.8 kB / 1.335 GB, free: 9.746 MB / 1.029 GB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.4719, allocations: 0 / 1.335 GB, free: 9.746 MB / 1.029 GB Notification: Performance of matching and sorting (n=32): time 0.000809/0.4727, allocations: 341.4 kB / 1.335 GB, free: 9.406 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.4728, allocations: 71.33 kB / 1.335 GB, free: 9.324 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.473, allocations: 203.4 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/0.473, allocations: 49.69 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.4732, allocations: 148.8 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.353e-05/0.4733, allocations: 87.33 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.4734, allocations: 86.11 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.4736, allocations: 338.8 kB / 1.336 GB, free: 8.391 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.4738, allocations: 112.8 kB / 1.336 GB, free: 8.281 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.4741, allocations: 165.4 kB / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004869/0.4746, allocations: 263.3 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4746, allocations: 0 / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006999/0.4753, allocations: 370.7 kB / 1.337 GB, free: 7.441 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.4753, allocations: 33.86 kB / 1.337 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4754, allocations: 4 kB / 1.337 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.4754, allocations: 4 kB / 1.337 GB, free: 7.395 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.4756, allocations: 47.84 kB / 1.337 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.4756, allocations: 0 / 1.337 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.4758, allocations: 59.73 kB / 1.337 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.4759, allocations: 15.98 kB / 1.337 GB, free: 7.273 MB / 1.029 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.0001896/0.476, allocations: 177.7 kB / 1.337 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.4761, allocations: 19.86 kB / 1.337 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.808e-05/0.4762, allocations: 30.66 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4762, allocations: 4 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.4762, allocations: 7.984 kB / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.4762, allocations: 0 / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.4773, allocations: 0.7022 MB / 1.338 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4773, allocations: 0 / 1.338 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.4775, allocations: 31.92 kB / 1.338 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4775, allocations: 0 / 1.338 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.4775, allocations: 4 kB / 1.338 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.4775, allocations: 3.938 kB / 1.338 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4775, allocations: 3.984 kB / 1.338 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.4781, allocations: 364.5 kB / 1.338 GB, free: 5.859 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.4781, allocations: 23.8 kB / 1.338 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.4782, allocations: 8 kB / 1.338 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.4784, allocations: 39.89 kB / 1.338 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.4785, allocations: 39.94 kB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.4785, allocations: 8 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001207/0.4786, allocations: 132.1 kB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4786, allocations: 0 / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003204/0.479, allocations: 67.84 kB / 1.338 GB, free: 5.547 MB / 1.029 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.0001635/0.4791, allocations: 129.2 kB / 1.339 GB, free: 5.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006606/0.4798, allocations: 307.1 kB / 1.339 GB, free: 5.098 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4798, allocations: 4 kB / 1.339 GB, free: 5.094 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002528/0.48, allocations: 119.8 kB / 1.339 GB, free: 4.977 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.4804, allocations: 36.23 kB / 1.339 GB, free: 4.941 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009539/0.4813, allocations: 487.1 kB / 1.339 GB, free: 4.434 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.4818, allocations: 0.7563 MB / 1.34 GB, free: 3.648 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.627e-05/0.4819, allocations: 27.44 kB / 1.34 GB, free: 3.621 MB / 1.029 GB Notification: Performance of SimCode: time 4.1e-07/0.4819, allocations: 0 / 1.34 GB, free: 3.621 MB / 1.029 GB Notification: Performance of Templates: time 0.00594/0.4878, allocations: 3.331 MB / 1.343 GB, free: 304 kB / 1.029 GB " [Timeout remaining time 300] 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.493354858015664]