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.002363/0.002363, allocations: 83.69 kB / 20.24 MB, free: 4.172 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.002703/0.002703, allocations: 157.8 kB / 23.55 MB, free: 0.8633 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 1.626/1.626, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 3.056/3.056, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] 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.1.|u1Equ.y.2.|setFloMin.ratFloMinEna.1..y|setFloMin.ratFloMinEna.2..y|setFloMin.maxRatFloMinEna.y|setFloMin.V_flow_min.1.|setFloMin.V_flow_min.2.|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.1.|u1Equ.y.2.|setFloMin.ratFloMinEna.1..y|setFloMin.ratFloMinEna.2..y|setFloMin.maxRatFloMinEna.y|setFloMin.V_flow_min.1.|setFloMin.V_flow_min.2.|setFloMin.VPriSet_flow",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.055e-06/3.055e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.737e-05/4.043e-05, allocations: 4.078 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002625/0.002666, allocations: 0.9913 MB / 0.8117 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002276/0.004942, allocations: 1.277 MB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.005063, allocations: 4.688 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.00557, allocations: 116.4 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.005694, allocations: 56.34 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000656/0.00635, allocations: 185.5 kB / 0.8133 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007625/0.007112, allocations: 0.5476 MB / 0.8139 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.007372, allocations: 116.3 kB / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004044/0.007776, allocations: 299.6 kB / 0.8143 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.0081, allocations: 189 kB / 0.8144 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.008219, allocations: 36 kB / 0.8145 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.008422, allocations: 67.97 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003875/0.008809, allocations: 245 kB / 0.8148 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.009043, allocations: 143.7 kB / 0.8149 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009827/0.01003, allocations: 0.7244 MB / 0.8156 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.01003, allocations: 0 / 0.8156 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.232e-06/0.01003, allocations: 0.75 kB / 0.8156 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.01004, allocations: 0 / 0.8156 GB, free: 13.14 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.001417/0.01146, allocations: 0.7741 MB / 0.8164 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.0115, allocations: 8.031 kB / 0.8164 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.01171, allocations: 66.62 kB / 0.8164 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.01278, allocations: 332.9 kB / 0.8168 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.01283, allocations: 20.88 kB / 0.8168 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-05/0.01291, allocations: 36.31 kB / 0.8168 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/0.0134, allocations: 245.1 kB / 0.8171 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.01341, allocations: 192 / 0.8171 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.01344, allocations: 9.094 kB / 0.8171 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.01345, allocations: 4.375 kB / 0.8171 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/0.01383, allocations: 187.1 kB / 0.8172 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.01571, allocations: 0.8743 MB / 0.8181 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/0.01634, allocations: 299.9 kB / 0.8184 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.01652, allocations: 91.64 kB / 0.8185 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.01656, allocations: 4 kB / 0.8185 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003577/0.01691, allocations: 207.8 kB / 0.8187 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.01691, allocations: 0.6562 kB / 0.8187 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.0007952/0.01771, allocations: 403.4 kB / 0.8191 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.01776, allocations: 56.62 kB / 0.8191 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000547/0.01831, allocations: 442.2 kB / 0.8195 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/0.01837, allocations: 41.7 kB / 0.8196 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.01864, allocations: 257.3 kB / 0.8198 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.22e-05/0.01872, allocations: 71.61 kB / 0.8199 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.01893, allocations: 123.3 kB / 0.82 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003266/0.01925, allocations: 0.543 MB / 0.8205 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.01939, allocations: 71.95 kB / 0.8206 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009012/0.02029, allocations: 0.9151 MB / 0.8215 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.02064, allocations: 230.1 kB / 0.8217 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02064, allocations: 0 / 0.8217 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005004/0.02114, allocations: 280.3 kB / 0.822 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.02116, allocations: 7.938 kB / 0.822 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.02117, allocations: 4 kB / 0.822 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.02119, allocations: 0 / 0.822 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.02137, allocations: 39.92 kB / 0.822 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.02138, allocations: 7.438 kB / 0.822 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005361/0.02192, allocations: 51.86 kB / 0.8221 GB, free: 6.043 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.02194, allocations: 8 kB / 0.8221 GB, free: 6.035 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.0002553/0.02219, allocations: 216.5 kB / 0.8223 GB, free: 5.812 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.02226, allocations: 39.69 kB / 0.8223 GB, free: 5.773 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005776/0.02284, allocations: 312 kB / 0.8226 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.02285, allocations: 4 kB / 0.8226 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.02285, allocations: 4 kB / 0.8227 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.02286, allocations: 4.578 kB / 0.8227 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.02331, allocations: 333 kB / 0.823 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.02332, allocations: 0.5625 kB / 0.823 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.02343, allocations: 27.92 kB / 0.823 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.02343, allocations: 4.562 kB / 0.823 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.02345, allocations: 5.344 kB / 0.823 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.02346, allocations: 7.984 kB / 0.823 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02346, allocations: 0 / 0.823 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.024, allocations: 350.3 kB / 0.8234 GB, free: 4.684 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-05/0.02408, allocations: 40.27 kB / 0.8234 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.02412, allocations: 7.938 kB / 0.8234 GB, free: 4.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.871e-05/0.02422, allocations: 8.641 kB / 0.8234 GB, free: 4.629 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.02429, allocations: 17.42 kB / 0.8234 GB, free: 4.613 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.02432, allocations: 11.98 kB / 0.8234 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004879/0.02481, allocations: 275 kB / 0.8237 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.02481, allocations: 0 / 0.8237 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003536/0.02516, allocations: 75.61 kB / 0.8238 GB, free: 4.262 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.0002395/0.0254, allocations: 119.2 kB / 0.8239 GB, free: 4.133 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004571/0.02586, allocations: 231.9 kB / 0.8241 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.02586, allocations: 0 / 0.8241 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.02607, allocations: 130 kB / 0.8242 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.02637, allocations: 33.53 kB / 0.8243 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.02754, allocations: 0.6079 MB / 0.8249 GB, free: 3.105 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.0278, allocations: 206.8 kB / 0.825 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001755/0.02797, allocations: 61.31 kB / 0.8251 GB, free: 2.832 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.02805, allocations: 28.94 kB / 0.8251 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of SimCode: time 9.51e-07/0.02805, allocations: 0 / 0.8251 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of Templates: time 0.01112/0.03917, allocations: 5.069 MB / 0.8301 GB, free: 13.85 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.388993656961247]