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.001275/0.001275, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001427/0.001427, allocations: 213.4 kB / 23.04 MB, free: 4.844 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.239/3.239, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.002029/0.002029, allocations: 67.77 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3282, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003604/0.3318, allocations: 1.981 MB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.3332, allocations: 0.6975 MB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.3333, allocations: 7.938 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.3334, allocations: 35.61 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.3335, allocations: 39.66 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.334, allocations: 167.7 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005039/0.3345, allocations: 403.3 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003478/0.3348, allocations: 209.2 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.335, allocations: 135.6 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.3352, allocations: 135.3 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.671e-05/0.3353, allocations: 44 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.535e-05/0.3354, allocations: 40 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.542e-05/0.3355, allocations: 83.75 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.3356, allocations: 127.4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000511/0.3361, allocations: 438.4 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3361, allocations: 0 / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3361, allocations: 0 / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.3361, allocations: 0 / 1.332 GB, free: 12.41 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.0009721/0.3371, allocations: 0.539 MB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3371, allocations: 12.03 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/0.3374, allocations: 44.69 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.3378, allocations: 215.9 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.105e-05/0.3379, allocations: 29.03 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.3379, allocations: 28.38 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.3386, allocations: 337.4 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.3386, allocations: 3.938 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.3386, allocations: 12 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.3386, allocations: 11.98 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005608/0.3392, allocations: 246.5 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.3405, allocations: 0.7618 MB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/0.3412, allocations: 254.8 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.3414, allocations: 108.8 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3414, allocations: 4 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003885/0.3418, allocations: 175.8 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of pre-optimization done (n=32): time 2.204e-06/0.3418, allocations: 4 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of matching and sorting (n=32): time 0.0008629/0.3427, allocations: 353.3 kB / 1.335 GB, free: 9.172 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.3427, allocations: 55.41 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.3429, allocations: 192.1 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.343, allocations: 37.7 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.3431, allocations: 164.7 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.667e-05/0.3432, allocations: 83.38 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.3433, allocations: 82.06 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3435, allocations: 342.8 kB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.3438, allocations: 134.5 kB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.3441, allocations: 187.2 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005015/0.3446, allocations: 271.2 kB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3446, allocations: 0 / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007677/0.3454, allocations: 396.4 kB / 1.336 GB, free: 7.141 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/0.3454, allocations: 33.7 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.3454, allocations: 4 kB / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.3455, allocations: 7.938 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.3457, allocations: 48.06 kB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.3457, allocations: 4 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.3459, allocations: 55.73 kB / 1.337 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.346, allocations: 12 kB / 1.337 GB, free: 6.973 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.0002326/0.3462, allocations: 180.3 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.3462, allocations: 31.83 kB / 1.337 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.3463, allocations: 26.66 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3463, allocations: 0 / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.3463, allocations: 0 / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.3463, allocations: 7.984 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.3475, allocations: 0.6169 MB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3475, allocations: 0 / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.3476, allocations: 27.98 kB / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.3476, allocations: 4 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.3476, allocations: 4 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3476, allocations: 7.938 kB / 1.337 GB, free: 6.031 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3476, allocations: 0 / 1.337 GB, free: 6.031 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006144/0.3482, allocations: 368.5 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.3483, allocations: 19.8 kB / 1.338 GB, free: 5.637 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.3483, allocations: 8 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.3485, allocations: 35.95 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.3486, allocations: 47.88 kB / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.3487, allocations: 4 kB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000127/0.3488, allocations: 120 kB / 1.338 GB, free: 5.426 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3488, allocations: 0 / 1.338 GB, free: 5.426 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003371/0.3491, allocations: 71.78 kB / 1.338 GB, free: 5.355 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.0002177/0.3493, allocations: 131.1 kB / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007203/0.3501, allocations: 340.8 kB / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3501, allocations: 0 / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.3504, allocations: 119.8 kB / 1.339 GB, free: 4.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.3507, allocations: 41.09 kB / 1.339 GB, free: 4.711 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.3518, allocations: 471.2 kB / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.3519, allocations: 158.7 kB / 1.339 GB, free: 4.043 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.203e-05/0.352, allocations: 27.42 kB / 1.339 GB, free: 4.016 MB / 1.029 GB Notification: Performance of SimCode: time 9.42e-07/0.352, allocations: 0 / 1.339 GB, free: 4.016 MB / 1.029 GB Notification: Performance of Templates: time 0.006531/0.3586, allocations: 3.316 MB / 1.343 GB, free: 0.707 MB / 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.349079956999049]