Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001788/0.001788, allocations: 110.2 kB / 19.69 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.002454/0.002454, allocations: 216.4 kB / 23.01 MB, free: 4.566 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.73/2.73, allocations: 476.7 MB / 0.7714 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002045/0.002045, allocations: 74.52 kB / 1.119 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3342, allocations: 169.9 MB / 1.285 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003515/0.3377, allocations: 2.061 MB / 1.287 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.3391, allocations: 0.7403 MB / 1.287 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.3393, allocations: 7.938 kB / 1.287 GB, free: 496 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.3394, allocations: 39.59 kB / 1.287 GB, free: 456 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.3395, allocations: 39.59 kB / 1.287 GB, free: 416 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.34, allocations: 159.8 kB / 1.288 GB, free: 256 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005274/0.3405, allocations: 411.3 kB / 1.288 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003581/0.3409, allocations: 216.4 kB / 1.288 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.3411, allocations: 139.6 kB / 1.288 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.3413, allocations: 147.4 kB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.58e-05/0.3413, allocations: 40 kB / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-05/0.3414, allocations: 51.92 kB / 1.289 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.241e-05/0.3415, allocations: 79.77 kB / 1.289 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.3417, allocations: 155.3 kB / 1.289 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005348/0.3422, allocations: 438.3 kB / 1.289 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3422, allocations: 0 / 1.289 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.385e-06/0.3422, allocations: 4 kB / 1.289 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3422, allocations: 0 / 1.289 GB, free: 14.6 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.001007/0.3432, allocations: 0.5312 MB / 1.29 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3433, allocations: 8.031 kB / 1.29 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002833/0.3435, allocations: 48.72 kB / 1.29 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.3439, allocations: 216.5 kB / 1.29 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.14e-05/0.344, allocations: 32.97 kB / 1.29 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.344, allocations: 36.36 kB / 1.29 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006496/0.3447, allocations: 333.3 kB / 1.29 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3447, allocations: 0 / 1.29 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.3447, allocations: 16 kB / 1.29 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.3447, allocations: 8 kB / 1.29 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005688/0.3453, allocations: 246.5 kB / 1.291 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.3468, allocations: 0.9016 MB / 1.291 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006183/0.3475, allocations: 248.9 kB / 1.292 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.3477, allocations: 113.3 kB / 1.292 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.3477, allocations: 4 kB / 1.292 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003902/0.3481, allocations: 179.8 kB / 1.292 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 2.064e-06/0.3481, allocations: 0 / 1.292 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=32): time 0.0008393/0.349, allocations: 349.4 kB / 1.292 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.349, allocations: 63.41 kB / 1.292 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.3492, allocations: 203.5 kB / 1.293 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.3493, allocations: 45.69 kB / 1.293 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.3494, allocations: 156.8 kB / 1.293 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.392e-05/0.3495, allocations: 79.34 kB / 1.293 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.3496, allocations: 86.11 kB / 1.293 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3498, allocations: 342.7 kB / 1.293 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.3501, allocations: 112.8 kB / 1.293 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.3504, allocations: 161.5 kB / 1.294 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.3509, allocations: 258.6 kB / 1.294 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3509, allocations: 4 kB / 1.294 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006985/0.3516, allocations: 366.9 kB / 1.294 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/0.3516, allocations: 33.69 kB / 1.294 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3516, allocations: 7.938 kB / 1.294 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3516, allocations: 0 / 1.294 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.3518, allocations: 43.86 kB / 1.294 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.3518, allocations: 7.984 kB / 1.294 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.3521, allocations: 55.73 kB / 1.294 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.3521, allocations: 16 kB / 1.294 GB, free: 9.113 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.0001996/0.3523, allocations: 177.7 kB / 1.294 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.3524, allocations: 19.86 kB / 1.294 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.999e-05/0.3524, allocations: 30.64 kB / 1.295 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3524, allocations: 4 kB / 1.295 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3524, allocations: 0 / 1.295 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3524, allocations: 7.984 kB / 1.295 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.3536, allocations: 0.6905 MB / 1.295 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3536, allocations: 4 kB / 1.295 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.3537, allocations: 31.92 kB / 1.295 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3537, allocations: 3.938 kB / 1.295 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.3537, allocations: 7.984 kB / 1.295 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3537, allocations: 7.938 kB / 1.295 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3537, allocations: 4 kB / 1.295 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/0.3543, allocations: 360.5 kB / 1.296 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.3543, allocations: 23.8 kB / 1.296 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.3544, allocations: 15.98 kB / 1.296 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.3546, allocations: 35.91 kB / 1.296 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.3547, allocations: 39.88 kB / 1.296 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.3547, allocations: 8 kB / 1.296 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001097/0.3548, allocations: 133.8 kB / 1.296 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3548, allocations: 0 / 1.296 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003177/0.3552, allocations: 67.89 kB / 1.296 GB, free: 7.387 MB / 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: 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.0001711/0.3553, allocations: 117.2 kB / 1.296 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006245/0.356, allocations: 307.2 kB / 1.296 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.356, allocations: 0 / 1.296 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.3562, allocations: 127.8 kB / 1.296 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.3566, allocations: 38.34 kB / 1.296 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008977/0.3575, allocations: 478.3 kB / 1.297 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.3579, allocations: 0.7603 MB / 1.298 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.438e-05/0.3579, allocations: 23.44 kB / 1.298 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.3579, allocations: 3.938 kB / 1.298 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of Templates: time 0.005836/0.3638, allocations: 3.344 MB / 1.301 GB, free: 2.129 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.065655006997986]