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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=5000,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=5000,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 105.3 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.714/2.714, allocations: 469.8 MB / 0.743 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 61.19 kB / 0.9092 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.325, allocations: 159.1 MB / 1.065 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003661/0.3287, allocations: 2.01 MB / 1.067 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.33, allocations: 0.6975 MB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.3302, allocations: 4 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.3303, allocations: 31.61 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.3305, allocations: 39.53 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.3309, allocations: 163.8 kB / 1.068 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004904/0.3314, allocations: 395.3 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003795/0.3318, allocations: 251.8 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.332, allocations: 135.6 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.3322, allocations: 143.4 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.277e-05/0.3323, allocations: 43.94 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.3324, allocations: 51.98 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.493e-05/0.3325, allocations: 79.77 kB / 1.069 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.3327, allocations: 151.3 kB / 1.069 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004594/0.3331, allocations: 415 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3332, allocations: 0 / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3332, allocations: 4 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.3332, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8419 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.00104/0.3342, allocations: 0.6105 MB / 1.07 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3343, allocations: 12.03 kB / 1.07 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.192e-05/0.3344, allocations: 28.66 kB / 1.07 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.3347, allocations: 263.8 kB / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.3348, allocations: 25.03 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.473e-05/0.3348, allocations: 40.38 kB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006543/0.3355, allocations: 333.2 kB / 1.07 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.3355, allocations: 3.938 kB / 1.07 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.3355, allocations: 20 kB / 1.07 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.3356, allocations: 8 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005716/0.3361, allocations: 246.1 kB / 1.071 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.3377, allocations: 0.9552 MB / 1.072 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006584/0.3384, allocations: 266.8 kB / 1.072 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.3386, allocations: 121.5 kB / 1.072 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.3387, allocations: 4 kB / 1.072 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004679/0.3391, allocations: 191.7 kB / 1.072 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 1.764e-06/0.3391, allocations: 0 / 1.072 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of matching and sorting (n=32): time 0.0008719/0.34, allocations: 345.3 kB / 1.072 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.3401, allocations: 63.34 kB / 1.073 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.3403, allocations: 203.3 kB / 1.073 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.3403, allocations: 45.69 kB / 1.073 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.3405, allocations: 156.5 kB / 1.073 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.136e-05/0.3406, allocations: 78.95 kB / 1.073 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.3407, allocations: 90.02 kB / 1.073 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3409, allocations: 338.8 kB / 1.073 GB, free: 5.535 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.3411, allocations: 104.8 kB / 1.073 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.3415, allocations: 169.5 kB / 1.074 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005048/0.342, allocations: 258.6 kB / 1.074 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.342, allocations: 0 / 1.074 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007322/0.3427, allocations: 370.6 kB / 1.074 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.3428, allocations: 33.7 kB / 1.074 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3428, allocations: 3.984 kB / 1.074 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3428, allocations: 4 kB / 1.074 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.343, allocations: 48.06 kB / 1.074 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.343, allocations: 4 kB / 1.074 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.3433, allocations: 51.66 kB / 1.074 GB, free: 4.449 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.3434, allocations: 12 kB / 1.074 GB, free: 4.438 MB / 0.8419 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.0002037/0.3436, allocations: 185.6 kB / 1.075 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.3437, allocations: 19.8 kB / 1.075 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006531/0.3443, allocations: 291.2 kB / 1.075 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.3443, allocations: 7.984 kB / 1.075 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3443, allocations: 3.938 kB / 1.075 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3444, allocations: 0 / 1.075 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.3455, allocations: 0.7647 MB / 1.076 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3456, allocations: 0 / 1.076 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.3457, allocations: 27.92 kB / 1.076 GB, free: 3.082 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3457, allocations: 4 kB / 1.076 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.3457, allocations: 7.984 kB / 1.076 GB, free: 3.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.3457, allocations: 3.938 kB / 1.076 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3458, allocations: 0 / 1.076 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005971/0.3464, allocations: 371 kB / 1.076 GB, free: 2.688 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.812e-05/0.3464, allocations: 104.8 kB / 1.076 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.3465, allocations: 12 kB / 1.076 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.3468, allocations: 43.88 kB / 1.076 GB, free: 2.512 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.3469, allocations: 39.89 kB / 1.076 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.3469, allocations: 12 kB / 1.076 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001188/0.347, allocations: 131.8 kB / 1.076 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.347, allocations: 0 / 1.076 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003366/0.3474, allocations: 67.83 kB / 1.076 GB, free: 2.266 MB / 0.8419 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.0001974/0.3476, allocations: 129.4 kB / 1.077 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007544/0.3483, allocations: 347 kB / 1.077 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3484, allocations: 4 kB / 1.077 GB, free: 1.773 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.3486, allocations: 131.8 kB / 1.077 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.349, allocations: 34.02 kB / 1.077 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009514/0.35, allocations: 482.7 kB / 1.077 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.3504, allocations: 0.7603 MB / 1.078 GB, free: 332 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.172e-05/0.3505, allocations: 27.44 kB / 1.078 GB, free: 304 kB / 0.8419 GB Notification: Performance of SimCode: time 4.3e-07/0.3505, allocations: 0 / 1.078 GB, free: 304 kB / 0.8419 GB Notification: Performance of Templates: time 0.4317/0.7822, allocations: 3.48 MB / 1.082 GB, free: 21.46 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (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) 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) Reference file matches