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.001021/0.001021, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001486/0.001486, allocations: 169.3 kB / 24.28 MB, free: 280 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.9834/0.9834, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.818/1.818, allocations: 377.8 MB / 0.6239 GB, free: 8.59 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.154e-06/2.154e-06, allocations: 0 / 0.8115 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.416e-05, allocations: 8.922 kB / 0.8115 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002237/0.002262, allocations: 0.9879 MB / 0.8125 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.00418, allocations: 1.296 MB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.004286, allocations: 11.88 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.00464, allocations: 104.1 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.954e-05/0.00474, allocations: 65.27 kB / 0.8139 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.005251, allocations: 184.3 kB / 0.8141 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006478/0.005899, allocations: 0.5435 MB / 0.8146 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.006116, allocations: 114 kB / 0.8147 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003623/0.006479, allocations: 299.6 kB / 0.815 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.006757, allocations: 185.6 kB / 0.8152 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.691e-05/0.006844, allocations: 40 kB / 0.8152 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.007001, allocations: 71.95 kB / 0.8153 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002834/0.007284, allocations: 240.8 kB / 0.8155 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.007476, allocations: 147.6 kB / 0.8157 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005829/0.008059, allocations: 0.4906 MB / 0.8161 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.008061, allocations: 1.75 kB / 0.8161 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.01e-07/0.008062, allocations: 0 / 0.8161 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.008069, allocations: 0 / 0.8161 GB, free: 13.38 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.001074/0.009143, allocations: 0.758 MB / 0.8169 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.009179, allocations: 12.03 kB / 0.8169 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.009341, allocations: 61.38 kB / 0.8169 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.009704, allocations: 328.9 kB / 0.8173 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.009736, allocations: 25.44 kB / 0.8173 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.009781, allocations: 28.94 kB / 0.8173 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.01001, allocations: 181.3 kB / 0.8175 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.01002, allocations: 0.75 kB / 0.8175 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.01004, allocations: 5.75 kB / 0.8175 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.01005, allocations: 4.375 kB / 0.8175 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.01018, allocations: 90.88 kB / 0.8176 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008624/0.01105, allocations: 0.7615 MB / 0.8183 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.01134, allocations: 171 kB / 0.8185 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.024e-05/0.01141, allocations: 43.67 kB / 0.8185 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.01143, allocations: 4 kB / 0.8185 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.0116, allocations: 170.9 kB / 0.8187 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 1.793e-06/0.0116, allocations: 0.7188 kB / 0.8187 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.0003728/0.01198, allocations: 299.7 kB / 0.819 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.01201, allocations: 51.94 kB / 0.819 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.01226, allocations: 387.9 kB / 0.8194 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.0123, allocations: 33.7 kB / 0.8194 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.01243, allocations: 247.6 kB / 0.8197 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.01247, allocations: 67.48 kB / 0.8197 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.01257, allocations: 115.2 kB / 0.8198 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.0127, allocations: 0.5243 MB / 0.8204 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-05/0.01276, allocations: 48.94 kB / 0.8204 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.01314, allocations: 0.8792 MB / 0.8213 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.01329, allocations: 157.7 kB / 0.8214 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.0133, allocations: 2.219 kB / 0.8214 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002392/0.01353, allocations: 215.3 kB / 0.8216 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.01355, allocations: 7.938 kB / 0.8216 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.01355, allocations: 2.812 kB / 0.8216 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.01356, allocations: 4 kB / 0.8216 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.741e-05/0.01365, allocations: 35.92 kB / 0.8217 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.01365, allocations: 0 / 0.8217 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.01391, allocations: 59.81 kB / 0.8217 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.01392, allocations: 11.98 kB / 0.8217 GB, free: 7.172 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.0001041/0.01403, allocations: 178.1 kB / 0.8219 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.01406, allocations: 39.75 kB / 0.8219 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.01432, allocations: 243.9 kB / 0.8222 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.01432, allocations: 4 kB / 0.8222 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01432, allocations: 0.625 kB / 0.8222 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.01433, allocations: 3.984 kB / 0.8222 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.01452, allocations: 281.5 kB / 0.8225 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.01452, allocations: 0 / 0.8225 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/0.01457, allocations: 20.67 kB / 0.8225 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01458, allocations: 0 / 0.8225 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.01459, allocations: 13.78 kB / 0.8225 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01459, allocations: 0 / 0.8225 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01459, allocations: 0 / 0.8225 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.01483, allocations: 282.3 kB / 0.8228 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.01486, allocations: 35.73 kB / 0.8228 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.01488, allocations: 13.28 kB / 0.8228 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.64e-05/0.01493, allocations: 4 kB / 0.8228 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.01497, allocations: 15.97 kB / 0.8228 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.01498, allocations: 8 kB / 0.8228 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001493/0.01513, allocations: 252 kB / 0.8231 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01513, allocations: 3.938 kB / 0.8231 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002126/0.01534, allocations: 79.83 kB / 0.8231 GB, free: 5.66 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.0001225/0.01547, allocations: 124.5 kB / 0.8233 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.01567, allocations: 152.8 kB / 0.8234 GB, free: 5.379 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01567, allocations: 4 kB / 0.8234 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.211e-05/0.01576, allocations: 79.58 kB / 0.8235 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.01592, allocations: 43.41 kB / 0.8235 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005703/0.01649, allocations: 0.5622 MB / 0.8241 GB, free: 4.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.141e-05/0.01656, allocations: 124.2 kB / 0.8242 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.918e-05/0.01665, allocations: 49.75 kB / 0.8242 GB, free: 4.477 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.0167, allocations: 29.62 kB / 0.8243 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.0167, allocations: 0 / 0.8243 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of Templates: time 0.006135/0.02283, allocations: 5.101 MB / 0.8293 GB, free: 15.45 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.06211016792804]