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.0009753/0.0009753, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001126/0.001126, allocations: 161.4 kB / 23.82 MB, free: 0.7539 MB / 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 1.013/1.013, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.894/1.894, allocations: 377.9 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] 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.925e-06/2.925e-06, allocations: 0 / 0.8115 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/3.057e-05, allocations: 4.984 kB / 0.8115 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.001785/0.001816, allocations: 1.009 MB / 0.8125 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.003334, allocations: 1.3 MB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.966e-05/0.003433, allocations: 3.938 kB / 0.8138 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.00384, allocations: 112.5 kB / 0.8139 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.341e-05/0.003924, allocations: 60.58 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.004456, allocations: 181.2 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004955/0.004952, allocations: 0.5511 MB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.005151, allocations: 117.4 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.005449, allocations: 293 kB / 0.815 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.005739, allocations: 187.6 kB / 0.8152 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.083e-05/0.00582, allocations: 37.75 kB / 0.8152 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.005973, allocations: 71.95 kB / 0.8153 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.006192, allocations: 239.5 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.006331, allocations: 143.7 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005184/0.00685, allocations: 0.4957 MB / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.006853, allocations: 0 / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.352e-06/0.006854, allocations: 0 / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.006863, allocations: 0 / 0.8162 GB, free: 13.03 MB / 0.7761 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.001004/0.007867, allocations: 0.7557 MB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.007906, allocations: 11.97 kB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.008047, allocations: 64.66 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.008484, allocations: 323.5 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.958e-05/0.008524, allocations: 24.86 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.256e-05/0.008576, allocations: 32.38 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.008839, allocations: 173.3 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.008849, allocations: 192 / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.008869, allocations: 12.38 kB / 0.8175 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.008879, allocations: 4.375 kB / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.00902, allocations: 87.59 kB / 0.8176 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.01003, allocations: 0.765 MB / 0.8183 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.01037, allocations: 167 kB / 0.8185 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.948e-05/0.01045, allocations: 47.67 kB / 0.8185 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.01047, allocations: 7.984 kB / 0.8186 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.01067, allocations: 170 kB / 0.8187 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 1.813e-06/0.01067, allocations: 0 / 0.8187 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.0004204/0.01109, allocations: 292 kB / 0.819 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.01113, allocations: 59.34 kB / 0.819 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.01143, allocations: 386.9 kB / 0.8194 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.01148, allocations: 42.53 kB / 0.8195 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.01162, allocations: 243.6 kB / 0.8197 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.01166, allocations: 67.47 kB / 0.8198 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.01179, allocations: 117.2 kB / 0.8199 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.01194, allocations: 0.5235 MB / 0.8204 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.012, allocations: 47.91 kB / 0.8204 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004272/0.01243, allocations: 0.8753 MB / 0.8213 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.01258, allocations: 155.2 kB / 0.8214 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01259, allocations: 0 / 0.8214 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002711/0.01286, allocations: 211.2 kB / 0.8216 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.01288, allocations: 11.94 kB / 0.8216 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01288, allocations: 0 / 0.8216 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.0129, allocations: 4 kB / 0.8216 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.01301, allocations: 36.42 kB / 0.8217 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.01301, allocations: 5.031 kB / 0.8217 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.01328, allocations: 63.8 kB / 0.8217 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.01329, allocations: 11.94 kB / 0.8218 GB, free: 6.816 MB / 0.7761 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.0001246/0.01342, allocations: 175.2 kB / 0.8219 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.01345, allocations: 43.75 kB / 0.822 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.01375, allocations: 242 kB / 0.8222 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.01375, allocations: 7.984 kB / 0.8222 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01375, allocations: 0 / 0.8222 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.01376, allocations: 1.344 kB / 0.8222 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.01398, allocations: 276.5 kB / 0.8225 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01398, allocations: 3.984 kB / 0.8225 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.805e-05/0.01404, allocations: 19.94 kB / 0.8225 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01404, allocations: 0.7188 kB / 0.8225 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.01406, allocations: 15.92 kB / 0.8225 GB, free: 6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01406, allocations: 0.6562 kB / 0.8225 GB, free: 6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01406, allocations: 3.688 kB / 0.8225 GB, free: 6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.01432, allocations: 276.1 kB / 0.8228 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.01436, allocations: 35.73 kB / 0.8228 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.01439, allocations: 7.938 kB / 0.8228 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.209e-05/0.01444, allocations: 11.98 kB / 0.8228 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.01449, allocations: 11.98 kB / 0.8228 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.0145, allocations: 11.98 kB / 0.8228 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000165/0.01467, allocations: 251 kB / 0.8231 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01467, allocations: 0 / 0.8231 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002455/0.01491, allocations: 75.83 kB / 0.8232 GB, free: 5.312 MB / 0.7761 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.0001681/0.01508, allocations: 123.6 kB / 0.8233 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.01534, allocations: 152.4 kB / 0.8234 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01534, allocations: 0 / 0.8234 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.027e-05/0.01543, allocations: 83.59 kB / 0.8235 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.01563, allocations: 35.95 kB / 0.8235 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007219/0.01635, allocations: 0.5679 MB / 0.8241 GB, free: 4.316 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.43e-05/0.01643, allocations: 120.3 kB / 0.8242 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.01653, allocations: 62.39 kB / 0.8243 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/0.01658, allocations: 32.48 kB / 0.8243 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of SimCode: time 7.41e-07/0.01659, allocations: 0 / 0.8243 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of Templates: time 0.007275/0.02386, allocations: 5.091 MB / 0.8293 GB, free: 15.09 MB / 0.7917 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: 5.45716516720131]