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.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.00157/0.001569, allocations: 115.5 kB / 17.08 MB, free: 5.977 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.001609/0.001609, allocations: 193.2 kB / 20.03 MB, free: 3.047 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.436/1.436, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.933/2.933, allocations: 489.3 MB / 0.7687 GB, free: 3.766 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.001994/0.001995, allocations: 67.89 kB / 1.103 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9765/0.9786, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003296/0.9819, allocations: 2.022 MB / 1.265 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.9832, allocations: 0.6842 MB / 1.265 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.9834, allocations: 4.562 kB / 1.265 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.9835, allocations: 34.97 kB / 1.265 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.456e-05/0.9836, allocations: 36 kB / 1.265 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.9842, allocations: 158.7 kB / 1.265 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005167/0.9847, allocations: 411.2 kB / 1.266 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004019/0.9851, allocations: 253.4 kB / 1.266 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.9853, allocations: 133 kB / 1.266 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.9855, allocations: 146.3 kB / 1.266 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.247e-05/0.9856, allocations: 39.06 kB / 1.266 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.9857, allocations: 53.75 kB / 1.266 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.818e-05/0.9858, allocations: 80.94 kB / 1.266 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.9859, allocations: 151.6 kB / 1.267 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005591/0.9865, allocations: 433.6 kB / 1.267 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.9865, allocations: 1.062 kB / 1.267 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9865, allocations: 3.938 kB / 1.267 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.373e-06/0.9865, allocations: 0 / 1.267 GB, free: 5.156 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.0009078/0.9874, allocations: 0.6069 MB / 1.268 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.9875, allocations: 9.375 kB / 1.268 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.9876, allocations: 37.84 kB / 1.268 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.9879, allocations: 272.4 kB / 1.268 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.988, allocations: 24.73 kB / 1.268 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/0.9881, allocations: 43.12 kB / 1.268 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.9887, allocations: 337.4 kB / 1.268 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.9887, allocations: 0.75 kB / 1.268 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.9888, allocations: 11.16 kB / 1.268 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.9888, allocations: 7.422 kB / 1.268 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006493/0.9895, allocations: 255.6 kB / 1.269 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.991, allocations: 0.9543 MB / 1.27 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000656/0.9917, allocations: 263.7 kB / 1.27 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.9919, allocations: 121.6 kB / 1.27 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.992, allocations: 6.516 kB / 1.27 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003619/0.9923, allocations: 183.7 kB / 1.27 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 2.204e-06/0.9924, allocations: 0 / 1.27 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=32): time 0.0008622/0.9932, allocations: 358 kB / 1.27 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.9933, allocations: 56.69 kB / 1.27 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.9935, allocations: 198.7 kB / 1.271 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.9935, allocations: 43.33 kB / 1.271 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.9936, allocations: 160.6 kB / 1.271 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/0.9937, allocations: 88.38 kB / 1.271 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.9938, allocations: 86.12 kB / 1.271 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.307e-05/0.9939, allocations: 346.1 kB / 1.271 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.9941, allocations: 108.7 kB / 1.271 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.9944, allocations: 165.7 kB / 1.272 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.9949, allocations: 256 kB / 1.272 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.9949, allocations: 1.312 kB / 1.272 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007133/0.9956, allocations: 383.9 kB / 1.272 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.9957, allocations: 32.02 kB / 1.272 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.9957, allocations: 4.25 kB / 1.272 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.9957, allocations: 3.688 kB / 1.272 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.9959, allocations: 44.14 kB / 1.272 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.996, allocations: 4.891 kB / 1.272 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.9963, allocations: 61.83 kB / 1.272 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.43e-05/0.9963, allocations: 9.625 kB / 1.272 GB, free: 1.652 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.0001889/0.9965, allocations: 175.8 kB / 1.273 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.9966, allocations: 21.52 kB / 1.273 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006557/0.9972, allocations: 306.2 kB / 1.273 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.9972, allocations: 3.344 kB / 1.273 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.9973, allocations: 0.75 kB / 1.273 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.9973, allocations: 3.422 kB / 1.273 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.9984, allocations: 0.7426 MB / 1.274 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.9984, allocations: 0 / 1.274 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.9985, allocations: 30.86 kB / 1.274 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.9985, allocations: 5.062 kB / 1.274 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.9986, allocations: 6.125 kB / 1.274 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.9986, allocations: 5.188 kB / 1.274 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.9986, allocations: 3.938 kB / 1.274 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.9991, allocations: 371.4 kB / 1.274 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.9992, allocations: 104.2 kB / 1.274 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.9992, allocations: 16.89 kB / 1.274 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.9995, allocations: 41.84 kB / 1.274 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.9996, allocations: 36.23 kB / 1.274 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.9996, allocations: 10.25 kB / 1.274 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.489e-05/0.9997, allocations: 136.4 kB / 1.274 GB, free: 416 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9997, allocations: 1.219 kB / 1.274 GB, free: 416 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000362/1, allocations: 76.97 kB / 1.274 GB, free: 388 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.0001709/1, allocations: 119.2 kB / 1.275 GB, free: 288 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006784/1.001, allocations: 336.4 kB / 1.275 GB, free: 136 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.001, allocations: 0 / 1.275 GB, free: 136 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000278/1.001, allocations: 140.2 kB / 1.275 GB, free: 88 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/1.002, allocations: 29.88 kB / 1.275 GB, free: 76 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009722/1.003, allocations: 485.2 kB / 1.275 GB, free: 15.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/1.003, allocations: 0.7559 MB / 1.276 GB, free: 15.05 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/1.003, allocations: 30.03 kB / 1.276 GB, free: 15.04 MB / 1.014 GB Notification: Performance of SimCode: time 2.3e-07/1.003, allocations: 0 / 1.276 GB, free: 15.04 MB / 1.014 GB Notification: Performance of Templates: time 0.007367/1.011, allocations: 3.512 MB / 1.28 GB, free: 14.63 MB / 1.014 GB " [Timeout remaining time 299] 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_2/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.517497987952083]