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.000775/0.000775, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007599/0.0007599, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.852/0.852, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.731/1.731, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.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_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.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_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 3.938 kB / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.887e-05, allocations: 2.281 kB / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.001339/0.001358, allocations: 0.9549 MB / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.002693, allocations: 1.279 MB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.04e-05/0.002773, allocations: 4 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.00312, allocations: 115.5 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.344e-05/0.003183, allocations: 63.73 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.003597, allocations: 170.2 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.003988, allocations: 0.5461 MB / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.004153, allocations: 120.2 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.004367, allocations: 303.5 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.004566, allocations: 187.6 kB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.243e-05/0.004618, allocations: 36 kB / 1.005 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.004741, allocations: 63.97 kB / 1.005 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.004919, allocations: 243.5 kB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.005027, allocations: 143.6 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005105/0.005538, allocations: 0.7207 MB / 1.006 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.005539, allocations: 0 / 1.006 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.11e-07/0.00554, allocations: 4 kB / 1.006 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.005545, allocations: 0 / 1.006 GB, free: 8.121 MB / 0.9636 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.0008117/0.006357, allocations: 0.6612 MB / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.006391, allocations: 12.75 kB / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.023e-05/0.006481, allocations: 40.7 kB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.006879, allocations: 378 kB / 1.007 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.006905, allocations: 24.86 kB / 1.007 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.006952, allocations: 36.31 kB / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.007266, allocations: 308.5 kB / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.007277, allocations: 192 / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.007295, allocations: 12.38 kB / 1.007 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.007301, allocations: 4.375 kB / 1.007 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.007547, allocations: 257.8 kB / 1.007 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008952/0.008442, allocations: 0.7714 MB / 1.008 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.008876, allocations: 370.3 kB / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.008999, allocations: 136.8 kB / 1.009 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.009018, allocations: 4 kB / 1.009 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.009229, allocations: 223.2 kB / 1.009 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.00923, allocations: 0 / 1.009 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of matching and sorting (n=21): time 0.0005068/0.009737, allocations: 483.9 kB / 1.009 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001731/0.00991, allocations: 55.41 kB / 1.009 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.01019, allocations: 416.5 kB / 1.01 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.01023, allocations: 37.69 kB / 1.01 GB, free: 3.793 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.01033, allocations: 200.8 kB / 1.01 GB, free: 3.594 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.01037, allocations: 59.48 kB / 1.01 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-05/0.01046, allocations: 109.6 kB / 1.01 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.911e-05/0.01054, allocations: 342.8 kB / 1.01 GB, free: 3.078 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.467e-05/0.01064, allocations: 100 kB / 1.011 GB, free: 2.98 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.01108, allocations: 0.9746 MB / 1.011 GB, free: 1.781 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.01126, allocations: 224.3 kB / 1.012 GB, free: 1.543 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01127, allocations: 0 / 1.012 GB, free: 1.543 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002912/0.01156, allocations: 319.2 kB / 1.012 GB, free: 1.227 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.01157, allocations: 7.938 kB / 1.012 GB, free: 1.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.01157, allocations: 8 kB / 1.012 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.01159, allocations: 0 / 1.012 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.38e-05/0.01167, allocations: 35.92 kB / 1.012 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.01168, allocations: 4 kB / 1.012 GB, free: 1.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.012, allocations: 67.98 kB / 1.012 GB, free: 1.105 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.01201, allocations: 8 kB / 1.012 GB, free: 1.098 MB / 0.9636 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.0001484/0.01216, allocations: 221.7 kB / 1.012 GB, free: 0.8711 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.01218, allocations: 35.73 kB / 1.012 GB, free: 0.8359 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.01252, allocations: 379.9 kB / 1.013 GB, free: 472 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.01252, allocations: 0 / 1.013 GB, free: 472 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01252, allocations: 0 / 1.013 GB, free: 472 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.01253, allocations: 0 / 1.013 GB, free: 472 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.01271, allocations: 281 kB / 1.013 GB, free: 160 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01271, allocations: 4 kB / 1.013 GB, free: 156 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.01276, allocations: 23.92 kB / 1.013 GB, free: 132 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01276, allocations: 0 / 1.013 GB, free: 132 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.01278, allocations: 11.94 kB / 1.013 GB, free: 120 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01278, allocations: 0 / 1.013 GB, free: 120 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.01278, allocations: 0 / 1.013 GB, free: 120 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.01308, allocations: 387.1 kB / 1.013 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.01311, allocations: 39.8 kB / 1.013 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.01313, allocations: 3.938 kB / 1.013 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.886e-05/0.01318, allocations: 8 kB / 1.013 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.01322, allocations: 23.97 kB / 1.013 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.01323, allocations: 8 kB / 1.013 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000195/0.01343, allocations: 307 kB / 1.014 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01343, allocations: 0 / 1.014 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002176/0.01365, allocations: 83.77 kB / 1.014 GB, free: 15.26 MB / 0.9792 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.0001258/0.01377, allocations: 119.1 kB / 1.014 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.01404, allocations: 261.7 kB / 1.014 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01404, allocations: 384 / 1.014 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.01417, allocations: 147.9 kB / 1.014 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.01433, allocations: 32.53 kB / 1.014 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006715/0.015, allocations: 0.7102 MB / 1.015 GB, free: 13.95 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.01513, allocations: 219.5 kB / 1.015 GB, free: 13.72 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.01519, allocations: 32.5 kB / 1.015 GB, free: 13.69 MB / 0.9792 GB Notification: Performance of SimCode: time 4.61e-07/0.01519, allocations: 0 / 1.015 GB, free: 13.69 MB / 0.9792 GB Notification: Performance of Templates: time 0.004316/0.01951, allocations: 5.015 MB / 1.02 GB, free: 8.746 MB / 0.9792 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.751515166833997]