Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.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.001003/0.001003, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 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.001563/0.001563, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 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 0.9218/0.9218, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.917/1.917, allocations: 377.9 MB / 0.624 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u1Equ.y.[0-9,]+.|setFloMin.ratFloMinEna.[0-9,]+..y|setFloMin.maxRatFloMinEna.y|setFloMin.V_flow_min.[0-9,]+.|setFloMin.VPriSet_flow",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") translateModel(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u1Equ.y.[0-9,]+.|setFloMin.ratFloMinEna.[0-9,]+..y|setFloMin.maxRatFloMinEna.y|setFloMin.V_flow_min.[0-9,]+.|setFloMin.VPriSet_flow",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.812 GB, free: 352 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.773e-05, allocations: 3.297 kB / 0.812 GB, free: 348 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002161/0.002179, allocations: 0.9831 MB / 0.8129 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.004053, allocations: 1.296 MB / 0.8142 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.004164, allocations: 9.344 kB / 0.8142 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004477/0.004612, allocations: 111.5 kB / 0.8143 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.889e-05/0.004711, allocations: 60.59 kB / 0.8144 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005308/0.005242, allocations: 180.9 kB / 0.8145 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005692/0.005811, allocations: 0.5552 MB / 0.8151 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.006039, allocations: 120.2 kB / 0.8152 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/0.00637, allocations: 305.2 kB / 0.8155 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.006614, allocations: 159.7 kB / 0.8156 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.111e-05/0.006695, allocations: 39.94 kB / 0.8157 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.006859, allocations: 65.19 kB / 0.8157 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.007085, allocations: 195.5 kB / 0.8159 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.00725, allocations: 143.7 kB / 0.8161 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005599/0.007809, allocations: 490.5 kB / 0.8165 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.007812, allocations: 0.6875 kB / 0.8165 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.71e-07/0.007812, allocations: 9.281 kB / 0.8165 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.007817, allocations: 0 / 0.8165 GB, free: 11.67 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.000933/0.00875, allocations: 0.7343 MB / 0.8173 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.008797, allocations: 12.03 kB / 0.8173 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.008929, allocations: 61.66 kB / 0.8173 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.009323, allocations: 304.4 kB / 0.8176 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.009357, allocations: 22.53 kB / 0.8176 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-05/0.009428, allocations: 32.38 kB / 0.8177 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.009676, allocations: 157.3 kB / 0.8178 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.009686, allocations: 192 / 0.8178 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.009708, allocations: 8.375 kB / 0.8178 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.009719, allocations: 5.906 kB / 0.8178 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.009854, allocations: 71.31 kB / 0.8179 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.01092, allocations: 0.6559 MB / 0.8185 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.01123, allocations: 139 kB / 0.8187 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.729e-05/0.0113, allocations: 35.67 kB / 0.8187 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.01132, allocations: 7.984 kB / 0.8187 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.01153, allocations: 156.3 kB / 0.8189 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.01153, allocations: 112 / 0.8189 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21): time 0.0004404/0.01197, allocations: 252.3 kB / 0.8191 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.01201, allocations: 63.28 kB / 0.8192 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/0.01235, allocations: 374.1 kB / 0.8195 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.01239, allocations: 34.52 kB / 0.8196 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.01257, allocations: 255.5 kB / 0.8198 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.065e-05/0.01263, allocations: 69.67 kB / 0.8199 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.01279, allocations: 119.2 kB / 0.82 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.01297, allocations: 0.5196 MB / 0.8205 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.256e-05/0.01303, allocations: 31.97 kB / 0.8205 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/0.01354, allocations: 0.8754 MB / 0.8214 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.01372, allocations: 138.9 kB / 0.8215 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01372, allocations: 0 / 0.8215 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003068/0.01403, allocations: 188.1 kB / 0.8217 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.01405, allocations: 8.906 kB / 0.8217 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.01406, allocations: 3.938 kB / 0.8217 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.01407, allocations: 4.688 kB / 0.8217 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.0142, allocations: 31.92 kB / 0.8217 GB, free: 5.891 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.0142, allocations: 4.594 kB / 0.8217 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.01454, allocations: 58.5 kB / 0.8218 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.01456, allocations: 5.375 kB / 0.8218 GB, free: 5.828 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,u1Equ.intTimTab.idx,$PRE.u1Equ.intTimTab.idx,u1Equ.intTimTab.y[2],$PRE.u1Equ.intTimTab.y[2],u1Equ.intTimTab.y[1],$PRE.u1Equ.intTimTab.y[1],u1Equ.y[2],u1Equ.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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.0001402/0.0147, allocations: 181.3 kB / 0.822 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.01473, allocations: 43.75 kB / 0.822 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.01496, allocations: 216 kB / 0.8222 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01496, allocations: 4.938 kB / 0.8222 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.01496, allocations: 0 / 0.8222 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01497, allocations: 1.219 kB / 0.8222 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.01514, allocations: 221 kB / 0.8224 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.01514, allocations: 3.938 kB / 0.8224 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.86e-05/0.01519, allocations: 24.89 kB / 0.8225 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01519, allocations: 0 / 0.8225 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.0152, allocations: 8 kB / 0.8225 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.0152, allocations: 2.312 kB / 0.8225 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.0152, allocations: 3.938 kB / 0.8225 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.0154, allocations: 249.8 kB / 0.8227 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.01543, allocations: 23.86 kB / 0.8227 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.01544, allocations: 8 kB / 0.8227 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.629e-05/0.01548, allocations: 0 / 0.8227 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.01551, allocations: 23.28 kB / 0.8228 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.01553, allocations: 8 kB / 0.8228 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001221/0.01565, allocations: 234.9 kB / 0.823 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01565, allocations: 0 / 0.823 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002067/0.01586, allocations: 83.77 kB / 0.8231 GB, free: 4.457 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,u1Equ.y[1],u1Equ.y[2],u1Equ.intTimTab.y[1],u1Equ.intTimTab.y[2],u1Equ.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001208/0.01598, allocations: 131.7 kB / 0.8232 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.01614, allocations: 124.4 kB / 0.8233 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.01614, allocations: 4.5 kB / 0.8233 GB, free: 4.195 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.125e-05/0.01621, allocations: 67.58 kB / 0.8234 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.01638, allocations: 37.7 kB / 0.8234 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005378/0.01692, allocations: 0.5471 MB / 0.824 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.862e-05/0.01699, allocations: 124.2 kB / 0.8241 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.651e-05/0.01706, allocations: 37.06 kB / 0.8241 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.01722, allocations: 146.7 kB / 0.8243 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.01723, allocations: 1.062 kB / 0.8243 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of Templates: time 0.006628/0.02385, allocations: 5.401 MB / 0.8295 GB, free: 13.92 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.878239287063479]