Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008077/0.0008077, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001824, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.0007246/0.0007246, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000901/0.001626, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 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.02/1.02, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1025/1.123, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.356/2.356, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2451/2.601, allocations: 145.9 MB / 0.817 GB, free: 4.223 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.995e-06/2.995e-06, allocations: 0 / 0.8183 GB, free: 2.953 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.797e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002561/0.002589, allocations: 1.023 MB / 0.8193 GB, free: 1.918 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.004528, allocations: 1.31 MB / 0.8205 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.004652, allocations: 7.938 kB / 0.8206 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.005038, allocations: 115.5 kB / 0.8207 GB, free: 484 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.005153, allocations: 79.59 kB / 0.8207 GB, free: 404 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.005739, allocations: 167.5 kB / 0.8209 GB, free: 236 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0006695/0.006409, allocations: 0.5618 MB / 0.8214 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.006641, allocations: 126.9 kB / 0.8216 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004347/0.007075, allocations: 315.6 kB / 0.8219 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.007359, allocations: 155.7 kB / 0.822 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.361e-05/0.007443, allocations: 32 kB / 0.822 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.007661, allocations: 67.91 kB / 0.8221 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.007869, allocations: 139.7 kB / 0.8222 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.008018, allocations: 91.81 kB / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.008589, allocations: 406.7 kB / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.802e-05/0.008607, allocations: 0 / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.593e-06/0.008609, allocations: 0 / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.935e-05/0.008638, allocations: 0 / 0.8227 GB, free: 14.36 MB / 0.8073 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.001064/0.009702, allocations: 0.6711 MB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.009741, allocations: 8.625 kB / 0.8234 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.009862, allocations: 48.89 kB / 0.8234 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.01029, allocations: 265.7 kB / 0.8237 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.01033, allocations: 28.88 kB / 0.8237 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.989e-05/0.0104, allocations: 28.38 kB / 0.8237 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.01068, allocations: 172.1 kB / 0.8239 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.01069, allocations: 192 / 0.8239 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.01072, allocations: 16.38 kB / 0.8239 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.01072, allocations: 4.375 kB / 0.8239 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.01085, allocations: 55.41 kB / 0.824 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.01186, allocations: 0.4995 MB / 0.8245 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.01221, allocations: 190.7 kB / 0.8246 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.01228, allocations: 28.84 kB / 0.8247 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.0123, allocations: 4 kB / 0.8247 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003262/0.01263, allocations: 164.4 kB / 0.8248 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=21): time 2.845e-06/0.01263, allocations: 0 / 0.8248 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21): time 0.00033/0.01296, allocations: 161.5 kB / 0.825 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.01301, allocations: 55.41 kB / 0.825 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.01327, allocations: 267 kB / 0.8253 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.01332, allocations: 33.7 kB / 0.8253 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.01344, allocations: 157.4 kB / 0.8255 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.708e-05/0.0135, allocations: 63.47 kB / 0.8255 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.01365, allocations: 89.58 kB / 0.8256 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.01376, allocations: 350.7 kB / 0.826 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.72e-05/0.01382, allocations: 30.81 kB / 0.826 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.01427, allocations: 0.7873 MB / 0.8268 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.01443, allocations: 130.2 kB / 0.8269 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.01444, allocations: 4 kB / 0.8269 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002587/0.0147, allocations: 152.3 kB / 0.827 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.01471, allocations: 7.984 kB / 0.827 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.01472, allocations: 4 kB / 0.827 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.01474, allocations: 7.938 kB / 0.827 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.0149, allocations: 35.92 kB / 0.8271 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.0149, allocations: 4 kB / 0.8271 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.01527, allocations: 55.75 kB / 0.8271 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.01528, allocations: 8 kB / 0.8271 GB, free: 9.406 MB / 0.8073 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.0001593/0.01544, allocations: 144.8 kB / 0.8273 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.01548, allocations: 23.98 kB / 0.8273 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.01573, allocations: 150.4 kB / 0.8275 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01574, allocations: 0 / 0.8275 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.01574, allocations: 0 / 0.8275 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01574, allocations: 0 / 0.8275 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.01597, allocations: 161.7 kB / 0.8276 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.01598, allocations: 3.938 kB / 0.8276 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.723e-05/0.01607, allocations: 23.98 kB / 0.8276 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.01612, allocations: 31.78 kB / 0.8277 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.01613, allocations: 8 kB / 0.8277 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.01614, allocations: 8 kB / 0.8277 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01615, allocations: 0 / 0.8277 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01615, allocations: 0 / 0.8277 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.01638, allocations: 166.6 kB / 0.8278 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.01641, allocations: 0 / 0.8278 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.567e-05/0.01648, allocations: 7.938 kB / 0.8278 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.01654, allocations: 30.8 kB / 0.8279 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.01656, allocations: 4 kB / 0.8279 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001375/0.0167, allocations: 112.6 kB / 0.828 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.1e-07/0.0167, allocations: 0 / 0.828 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003618/0.01706, allocations: 83.78 kB / 0.8281 GB, free: 8.41 MB / 0.8073 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.0001971/0.01726, allocations: 102.8 kB / 0.8282 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.0175, allocations: 118.8 kB / 0.8283 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/0.01751, allocations: 4 kB / 0.8283 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.826e-05/0.0176, allocations: 60.72 kB / 0.8283 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.01781, allocations: 47.41 kB / 0.8284 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.01906, allocations: 0.5726 MB / 0.8289 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.01916, allocations: 116.3 kB / 0.8291 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001451/0.0193, allocations: 38.27 kB / 0.8291 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/0.01956, allocations: 111.3 kB / 0.8292 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of SimCode: time 1.042e-06/0.01956, allocations: 0 / 0.8292 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of Templates: time 0.01071/0.03027, allocations: 5.699 MB / 0.8348 GB, free: 1.574 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint/Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.ref.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.290119797922671]