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.001576/0.001576, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002039/0.002039, allocations: 216 kB / 22.99 MB, free: 4.945 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.84/2.84, allocations: 476 MB / 0.7707 GB, free: 4.809 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.002067/0.002067, allocations: 67.73 kB / 1.118 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3202, allocations: 170 MB / 1.284 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003359/0.3235, allocations: 1.99 MB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.3248, allocations: 0.6897 MB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.3249, allocations: 11.94 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.325, allocations: 27.61 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.3251, allocations: 43.59 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.3256, allocations: 163.8 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004897/0.3261, allocations: 419.1 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003274/0.3264, allocations: 204.5 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.3266, allocations: 135.6 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.3268, allocations: 127.4 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.916e-05/0.3268, allocations: 40 kB / 1.288 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.2e-05/0.3269, allocations: 47.94 kB / 1.288 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.327, allocations: 87.73 kB / 1.288 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.3272, allocations: 119.5 kB / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005015/0.3277, allocations: 442.3 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3277, allocations: 0 / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3277, allocations: 0 / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.3277, allocations: 3.938 kB / 1.288 GB, free: 7.523 MB / 0.9825 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.0009441/0.3286, allocations: 0.5274 MB / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.3286, allocations: 8.031 kB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002702/0.3289, allocations: 52.72 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.3293, allocations: 218 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.3293, allocations: 25.03 kB / 1.289 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.684e-05/0.3294, allocations: 40.36 kB / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006433/0.33, allocations: 333.3 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.33, allocations: 4 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.3301, allocations: 8 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.3301, allocations: 8 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005773/0.3307, allocations: 246.5 kB / 1.29 GB, free: 6 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.332, allocations: 0.7658 MB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/0.3326, allocations: 261.2 kB / 1.291 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.3329, allocations: 105.3 kB / 1.291 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.3329, allocations: 4 kB / 1.291 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003649/0.3333, allocations: 175.2 kB / 1.291 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=32): time 1.894e-06/0.3333, allocations: 0 / 1.291 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32): time 0.0008327/0.3341, allocations: 355.8 kB / 1.291 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.3342, allocations: 59.41 kB / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.3344, allocations: 187.8 kB / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.3344, allocations: 41.7 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.3345, allocations: 160.7 kB / 1.292 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.662e-05/0.3346, allocations: 83.36 kB / 1.292 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.3348, allocations: 90.11 kB / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3349, allocations: 330.8 kB / 1.292 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.3352, allocations: 130.5 kB / 1.292 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.3355, allocations: 207.1 kB / 1.292 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/0.336, allocations: 258.6 kB / 1.293 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.336, allocations: 0 / 1.293 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000708/0.3367, allocations: 396.5 kB / 1.293 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/0.3368, allocations: 37.69 kB / 1.293 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3368, allocations: 0 / 1.293 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3368, allocations: 4 kB / 1.293 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.337, allocations: 43.91 kB / 1.293 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.337, allocations: 7.938 kB / 1.293 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.3372, allocations: 51.91 kB / 1.293 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.3372, allocations: 16 kB / 1.293 GB, free: 2.102 MB / 0.9825 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.0001985/0.3374, allocations: 178 kB / 1.293 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.3375, allocations: 19.86 kB / 1.293 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.759e-05/0.3375, allocations: 30.64 kB / 1.293 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3376, allocations: 4 kB / 1.293 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3376, allocations: 7.938 kB / 1.293 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3376, allocations: 0 / 1.293 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.3386, allocations: 0.6237 MB / 1.294 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.3386, allocations: 0 / 1.294 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.3387, allocations: 27.92 kB / 1.294 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.3387, allocations: 7.922 kB / 1.294 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.3388, allocations: 8 kB / 1.294 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3388, allocations: 0 / 1.294 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3388, allocations: 4 kB / 1.294 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005817/0.3393, allocations: 364.3 kB / 1.294 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-05/0.3394, allocations: 27.78 kB / 1.294 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.3394, allocations: 12 kB / 1.294 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.3396, allocations: 27.97 kB / 1.295 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.3397, allocations: 43.88 kB / 1.295 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.3398, allocations: 15.98 kB / 1.295 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.598e-05/0.3399, allocations: 115.9 kB / 1.295 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3399, allocations: 0 / 1.295 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003172/0.3402, allocations: 75.77 kB / 1.295 GB, free: 476 kB / 0.9825 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.0001363/0.3403, allocations: 117.2 kB / 1.295 GB, free: 348 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006621/0.341, allocations: 341.5 kB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.341, allocations: 0 / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002613/0.3412, allocations: 123.8 kB / 1.295 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.3415, allocations: 29.73 kB / 1.295 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008468/0.3424, allocations: 474.5 kB / 1.296 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.3426, allocations: 151 kB / 1.296 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.765e-05/0.3426, allocations: 27.44 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.3426, allocations: 0 / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of Templates: time 0.00539/0.348, allocations: 3.334 MB / 1.299 GB, free: 11.82 MB / 0.9981 GB " [Timeout remaining time 299] 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.283917257096618]