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.000921/0.000921, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001599/0.001599, allocations: 166.8 kB / 24.87 MB, free: 8.891 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 0.9938/0.9938, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.939/1.939, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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.885e-06/2.885e-06, allocations: 0 / 0.8127 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.35e-05/3.639e-05, allocations: 3.812 kB / 0.8127 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002585/0.002622, allocations: 0.9916 MB / 0.8137 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.004839, allocations: 1.292 MB / 0.815 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.004975, allocations: 7.938 kB / 0.815 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004564/0.005432, allocations: 116.4 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.005543, allocations: 68.67 kB / 0.8152 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.006104, allocations: 170 kB / 0.8153 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006283/0.006732, allocations: 0.5539 MB / 0.8159 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.006974, allocations: 112.3 kB / 0.816 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.007232, allocations: 301.1 kB / 0.8162 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.007486, allocations: 163.7 kB / 0.8164 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.518e-05/0.007541, allocations: 36.66 kB / 0.8164 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.007666, allocations: 63.95 kB / 0.8165 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.00783, allocations: 200.4 kB / 0.8167 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.007951, allocations: 143.6 kB / 0.8168 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000389/0.00834, allocations: 496 kB / 0.8173 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.008344, allocations: 0 / 0.8173 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.143e-06/0.008345, allocations: 0 / 0.8173 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.008349, allocations: 0 / 0.8173 GB, free: 12.84 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.0007729/0.009122, allocations: 0.7389 MB / 0.818 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.009154, allocations: 8.031 kB / 0.818 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.924e-05/0.009253, allocations: 65.19 kB / 0.8181 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.009588, allocations: 306 kB / 0.8184 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.009618, allocations: 28.86 kB / 0.8184 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.009665, allocations: 32.38 kB / 0.8184 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.009852, allocations: 153.3 kB / 0.8186 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.009861, allocations: 0.6875 kB / 0.8186 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.009877, allocations: 8.375 kB / 0.8186 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.009884, allocations: 4.969 kB / 0.8186 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.839e-05/0.009972, allocations: 68.11 kB / 0.8187 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000797/0.01077, allocations: 0.6592 MB / 0.8193 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.011, allocations: 146.9 kB / 0.8195 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.749e-05/0.01105, allocations: 39.44 kB / 0.8195 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.01106, allocations: 0 / 0.8195 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.01128, allocations: 158.7 kB / 0.8196 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 1.753e-06/0.01128, allocations: 0 / 0.8196 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.000347/0.01163, allocations: 243.2 kB / 0.8199 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.01166, allocations: 63.28 kB / 0.8199 GB, free: 10 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.0119, allocations: 382.1 kB / 0.8203 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.01193, allocations: 34.55 kB / 0.8203 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.01206, allocations: 259.5 kB / 0.8206 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.0121, allocations: 61.75 kB / 0.8206 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.01234, allocations: 119.2 kB / 0.8208 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.01247, allocations: 0.5274 MB / 0.8213 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.519e-05/0.01251, allocations: 27.97 kB / 0.8213 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/0.01287, allocations: 0.8685 MB / 0.8221 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.01299, allocations: 146.7 kB / 0.8223 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01299, allocations: 0 / 0.8223 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002008/0.01319, allocations: 186.7 kB / 0.8225 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.0132, allocations: 4 kB / 0.8225 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.01321, allocations: 8.438 kB / 0.8225 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.01322, allocations: 0 / 0.8225 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.089e-05/0.01331, allocations: 32.48 kB / 0.8225 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.01331, allocations: 4.5 kB / 0.8225 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.01355, allocations: 57.25 kB / 0.8226 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.01356, allocations: 4 kB / 0.8226 GB, free: 6.984 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.0001105/0.01367, allocations: 187 kB / 0.8227 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.01371, allocations: 39.75 kB / 0.8228 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.01392, allocations: 214.5 kB / 0.823 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.01393, allocations: 3.984 kB / 0.823 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.01393, allocations: 0 / 0.823 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01393, allocations: 0 / 0.823 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.01409, allocations: 217.1 kB / 0.8232 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.0141, allocations: 0.5938 kB / 0.8232 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-05/0.01415, allocations: 27.92 kB / 0.8232 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01415, allocations: 1.125 kB / 0.8232 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.01416, allocations: 4 kB / 0.8232 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01416, allocations: 4 kB / 0.8232 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01416, allocations: 4.938 kB / 0.8232 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.01435, allocations: 244.1 kB / 0.8235 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.01438, allocations: 40.3 kB / 0.8235 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.0144, allocations: 0 / 0.8235 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.944e-05/0.01444, allocations: 11.69 kB / 0.8235 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.01448, allocations: 19.91 kB / 0.8235 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.01449, allocations: 4 kB / 0.8235 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001198/0.01461, allocations: 238.9 kB / 0.8238 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01461, allocations: 0 / 0.8238 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002222/0.01483, allocations: 79.88 kB / 0.8238 GB, free: 5.617 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.0001313/0.01496, allocations: 121.4 kB / 0.824 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.01539, allocations: 137.3 kB / 0.8241 GB, free: 5.355 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01539, allocations: 0 / 0.8241 GB, free: 5.355 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.357e-05/0.01545, allocations: 68.62 kB / 0.8242 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.01562, allocations: 32.59 kB / 0.8242 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005378/0.01616, allocations: 0.5441 MB / 0.8247 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.647e-05/0.01623, allocations: 124.2 kB / 0.8248 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.974e-05/0.01631, allocations: 37.92 kB / 0.8249 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.01647, allocations: 143 kB / 0.825 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.01647, allocations: 0 / 0.825 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of Templates: time 0.006725/0.02319, allocations: 5.499 MB / 0.8304 GB, free: 14.98 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.206182794179767]