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.0009495/0.0009495, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009124/0.0009124, allocations: 161 kB / 23.82 MB, free: 0.75 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.9224/0.9224, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.879/1.879, allocations: 377.8 MB / 0.6236 GB, free: 8.527 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 3.316e-06/3.316e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.495e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.001812/0.001847, allocations: 1.01 MB / 0.8125 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.003368, allocations: 1.3 MB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.00347, allocations: 4 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000396/0.003866, allocations: 117.9 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.846e-05/0.003955, allocations: 59.69 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.004452, allocations: 176.6 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000461/0.004913, allocations: 0.5554 MB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.005109, allocations: 120.2 kB / 0.8148 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.005398, allocations: 291.6 kB / 0.815 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.005646, allocations: 185.1 kB / 0.8152 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.15e-05/0.005717, allocations: 36 kB / 0.8152 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.005865, allocations: 65.47 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.006082, allocations: 243.5 kB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.006205, allocations: 147.6 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004659/0.006671, allocations: 490.5 kB / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.006675, allocations: 1.094 kB / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.483e-06/0.006676, allocations: 0 / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.006683, allocations: 0 / 0.8162 GB, free: 12.99 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.0008609/0.007544, allocations: 0.7475 MB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.007583, allocations: 8.031 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.007705, allocations: 68.64 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.008076, allocations: 325.2 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.008111, allocations: 25.34 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.008157, allocations: 32.38 kB / 0.8173 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.008406, allocations: 178.7 kB / 0.8175 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.008415, allocations: 192 / 0.8175 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.008436, allocations: 12.38 kB / 0.8175 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.008445, allocations: 4.375 kB / 0.8175 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.008578, allocations: 84.05 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009272/0.009505, allocations: 0.7599 MB / 0.8183 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.009824, allocations: 170.9 kB / 0.8185 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.048e-05/0.009894, allocations: 52.16 kB / 0.8185 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.009913, allocations: 4.812 kB / 0.8185 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.0101, allocations: 161.8 kB / 0.8187 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 1.864e-06/0.0101, allocations: 0 / 0.8187 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.0004168/0.01052, allocations: 292 kB / 0.819 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.01056, allocations: 59.39 kB / 0.819 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.01083, allocations: 387.5 kB / 0.8194 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.01087, allocations: 37.7 kB / 0.8194 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.011, allocations: 247.6 kB / 0.8197 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.01104, allocations: 67.61 kB / 0.8197 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.01115, allocations: 116 kB / 0.8199 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.01129, allocations: 0.5235 MB / 0.8204 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.768e-05/0.01135, allocations: 40.84 kB / 0.8204 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/0.01174, allocations: 0.8802 MB / 0.8213 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.0119, allocations: 162.7 kB / 0.8214 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.0119, allocations: 0 / 0.8214 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002608/0.01216, allocations: 212.5 kB / 0.8216 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.01218, allocations: 11.94 kB / 0.8216 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.01218, allocations: 0 / 0.8216 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.0122, allocations: 4 kB / 0.8216 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.0123, allocations: 35.92 kB / 0.8217 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.01231, allocations: 4 kB / 0.8217 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.01256, allocations: 52.36 kB / 0.8217 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.01257, allocations: 13.94 kB / 0.8217 GB, free: 6.797 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.000116/0.01269, allocations: 180.5 kB / 0.8219 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.01272, allocations: 35.75 kB / 0.8219 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.013, allocations: 250.5 kB / 0.8222 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01301, allocations: 0 / 0.8222 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.01301, allocations: 10.44 kB / 0.8222 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01301, allocations: 0 / 0.8222 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.01322, allocations: 276.4 kB / 0.8225 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01322, allocations: 3.984 kB / 0.8225 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.567e-05/0.01328, allocations: 16 kB / 0.8225 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01328, allocations: 4 kB / 0.8225 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.01329, allocations: 11.92 kB / 0.8225 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.0133, allocations: 7 kB / 0.8225 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.0133, allocations: 0 / 0.8225 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.01355, allocations: 276.1 kB / 0.8228 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.01358, allocations: 39.69 kB / 0.8228 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.0136, allocations: 7.938 kB / 0.8228 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.062e-05/0.01364, allocations: 0 / 0.8228 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.0137, allocations: 19.97 kB / 0.8228 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.01371, allocations: 8 kB / 0.8228 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001564/0.01387, allocations: 251.9 kB / 0.8231 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01387, allocations: 0 / 0.8231 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000235/0.01411, allocations: 76.95 kB / 0.8231 GB, free: 5.289 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.0001613/0.01427, allocations: 126.7 kB / 0.8233 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.01449, allocations: 152.6 kB / 0.8234 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01449, allocations: 0 / 0.8234 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.525e-05/0.01458, allocations: 88.73 kB / 0.8235 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.01477, allocations: 32.59 kB / 0.8235 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006674/0.01544, allocations: 0.5571 MB / 0.8241 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.919e-05/0.01551, allocations: 128.2 kB / 0.8242 GB, free: 4.152 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.703e-05/0.01561, allocations: 56.89 kB / 0.8242 GB, free: 4.102 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.01566, allocations: 29.84 kB / 0.8243 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.01566, allocations: 0 / 0.8243 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of Templates: time 0.007452/0.02312, allocations: 5.37 MB / 0.8295 GB, free: 14.8 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.007301592733711]