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.0007459/0.0007459, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00111/0.001856, allocations: 440 kB / 10.41 MB, free: 284 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.0007321/0.0007321, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009317/0.001664, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9304/0.9304, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08938/1.02, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.333/2.333, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2525/2.585, allocations: 146 MB / 0.8176 GB, free: 3.832 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.194e-06/2.194e-06, allocations: 0 / 0.8189 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.696e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002163/0.00218, allocations: 1.044 MB / 0.8199 GB, free: 1.488 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.003891, allocations: 1.31 MB / 0.8212 GB, free: 168 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.003995, allocations: 4 kB / 0.8212 GB, free: 164 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.004318, allocations: 111.5 kB / 0.8213 GB, free: 52 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.004449, allocations: 75.66 kB / 0.8214 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.004961, allocations: 167.5 kB / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004799/0.005441, allocations: 0.5695 MB / 0.8221 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.005599, allocations: 122.9 kB / 0.8222 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.005834, allocations: 315.6 kB / 0.8225 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.006008, allocations: 155.6 kB / 0.8226 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.871e-05/0.006067, allocations: 36 kB / 0.8227 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.006212, allocations: 71.89 kB / 0.8227 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.006343, allocations: 131.7 kB / 0.8229 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.052e-05/0.006433, allocations: 91.81 kB / 0.823 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.006761, allocations: 406.7 kB / 0.8233 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.006769, allocations: 0 / 0.8233 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.21e-07/0.00677, allocations: 0 / 0.8233 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.006779, allocations: 0 / 0.8233 GB, free: 13.94 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.0006727/0.007452, allocations: 0.6595 MB / 0.824 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.00748, allocations: 12.03 kB / 0.824 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.399e-05/0.007554, allocations: 52.83 kB / 0.8241 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.007812, allocations: 269.7 kB / 0.8243 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.00784, allocations: 32.8 kB / 0.8243 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.007884, allocations: 28.38 kB / 0.8244 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.008077, allocations: 168.1 kB / 0.8245 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.008085, allocations: 192 / 0.8245 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.008101, allocations: 12.38 kB / 0.8245 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.008106, allocations: 4.375 kB / 0.8245 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.778e-05/0.008184, allocations: 55.41 kB / 0.8246 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006276/0.008812, allocations: 0.4957 MB / 0.8251 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.009054, allocations: 194.6 kB / 0.8253 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.009096, allocations: 36.78 kB / 0.8253 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.009111, allocations: 0 / 0.8253 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.009265, allocations: 158 kB / 0.8255 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=21): time 1.232e-06/0.009266, allocations: 0 / 0.8255 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21): time 0.0002264/0.009493, allocations: 167.9 kB / 0.8256 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.009524, allocations: 55.41 kB / 0.8257 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.009685, allocations: 271 kB / 0.8259 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.009723, allocations: 33.7 kB / 0.826 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/0.009804, allocations: 153.5 kB / 0.8261 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.009838, allocations: 63.45 kB / 0.8262 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.989e-05/0.009928, allocations: 93.58 kB / 0.8263 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.446e-05/0.01001, allocations: 346.7 kB / 0.8266 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.382e-05/0.01005, allocations: 30.81 kB / 0.8266 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.01036, allocations: 0.7855 MB / 0.8274 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.01046, allocations: 130.6 kB / 0.8275 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01047, allocations: 0 / 0.8275 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001586/0.01062, allocations: 160.2 kB / 0.8277 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.01064, allocations: 8 kB / 0.8277 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.01064, allocations: 0 / 0.8277 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.01065, allocations: 4 kB / 0.8277 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.803e-05/0.01075, allocations: 39.92 kB / 0.8277 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.01076, allocations: 4 kB / 0.8277 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.01098, allocations: 58 kB / 0.8278 GB, free: 9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.01099, allocations: 12 kB / 0.8278 GB, free: 8.988 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 9.935e-05/0.01109, allocations: 140.8 kB / 0.8279 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.01111, allocations: 19.98 kB / 0.8279 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.01127, allocations: 144 kB / 0.8281 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01127, allocations: 4 kB / 0.8281 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.01127, allocations: 3.938 kB / 0.8281 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01128, allocations: 3.984 kB / 0.8281 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.01141, allocations: 161.7 kB / 0.8282 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01141, allocations: 3.938 kB / 0.8282 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.411e-05/0.01146, allocations: 19.94 kB / 0.8283 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.01149, allocations: 31.78 kB / 0.8283 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01149, allocations: 8 kB / 0.8283 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.0115, allocations: 4 kB / 0.8283 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.0115, allocations: 0 / 0.8283 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.0115, allocations: 0 / 0.8283 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.01163, allocations: 169 kB / 0.8285 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.01165, allocations: 3.984 kB / 0.8285 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.733e-05/0.01169, allocations: 11.94 kB / 0.8285 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.01173, allocations: 26.81 kB / 0.8285 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.01174, allocations: 7.984 kB / 0.8285 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.973e-05/0.01182, allocations: 104.6 kB / 0.8286 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01182, allocations: 0 / 0.8286 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001788/0.012, allocations: 87.77 kB / 0.8287 GB, free: 7.996 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.0001127/0.01212, allocations: 100.4 kB / 0.8288 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.01227, allocations: 118.7 kB / 0.8289 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.01227, allocations: 4 kB / 0.8289 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.757e-05/0.01234, allocations: 74.94 kB / 0.829 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.01252, allocations: 196.4 kB / 0.8292 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007595/0.01328, allocations: 0.5551 MB / 0.8297 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.439e-05/0.01334, allocations: 116.3 kB / 0.8298 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.437e-05/0.01342, allocations: 38.28 kB / 0.8299 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.01357, allocations: 115.3 kB / 0.83 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of SimCode: time 7.41e-07/0.01357, allocations: 0 / 0.83 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of Templates: time 0.00703/0.0206, allocations: 5.776 MB / 0.8356 GB, free: 0.9102 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9857127368450165]