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.001504/0.001504, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001866/0.001866, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.489/1.489, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.913/2.913, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.895e-06/2.895e-06, allocations: 0 / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.554e-05/3.843e-05, allocations: 2.281 kB / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002833/0.002871, allocations: 0.964 MB / 1.001 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002442/0.005313, allocations: 1.271 MB / 1.002 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.005486, allocations: 7.938 kB / 1.002 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005044/0.005991, allocations: 115.5 kB / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.006153, allocations: 63.8 kB / 1.002 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007135/0.006867, allocations: 176.6 kB / 1.003 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007566/0.007623, allocations: 0.55 MB / 1.003 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.007871, allocations: 112.3 kB / 1.003 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004926/0.008364, allocations: 303.6 kB / 1.004 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000405/0.008769, allocations: 179.7 kB / 1.004 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.008942, allocations: 40 kB / 1.004 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.009195, allocations: 67.95 kB / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003949/0.00959, allocations: 239.5 kB / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003569/0.009947, allocations: 147.6 kB / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.01096, allocations: 0.7207 MB / 1.005 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01096, allocations: 0 / 1.005 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.332e-06/0.01096, allocations: 4 kB / 1.005 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.866e-05/0.01098, allocations: 0 / 1.005 GB, free: 2.355 MB / 0.9512 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.001557/0.01254, allocations: 0.6689 MB / 1.006 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.01259, allocations: 12.03 kB / 1.006 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.01276, allocations: 40.7 kB / 1.006 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007141/0.01348, allocations: 374.1 kB / 1.006 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.01352, allocations: 24.86 kB / 1.006 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-05/0.01362, allocations: 32.38 kB / 1.006 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.01416, allocations: 312.5 kB / 1.006 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.01417, allocations: 192 / 1.006 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.01421, allocations: 16.3 kB / 1.006 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.01422, allocations: 4.375 kB / 1.006 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.01466, allocations: 257.8 kB / 1.007 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.01626, allocations: 0.7753 MB / 1.007 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006965/0.01696, allocations: 366.4 kB / 1.008 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.01717, allocations: 132.8 kB / 1.008 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.0172, allocations: 4 kB / 1.008 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003585/0.01756, allocations: 227.2 kB / 1.008 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.974e-06/0.01756, allocations: 0 / 1.008 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.0008566/0.01841, allocations: 479.6 kB / 1.008 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.01846, allocations: 59.41 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005121/0.01898, allocations: 412.5 kB / 1.009 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.643e-05/0.01905, allocations: 41.69 kB / 1.009 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.01925, allocations: 188.8 kB / 1.009 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.01931, allocations: 63.61 kB / 1.009 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.0195, allocations: 109.6 kB / 1.009 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.01966, allocations: 342.8 kB / 1.01 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.01981, allocations: 99.94 kB / 1.01 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000833/0.02064, allocations: 0.9709 MB / 1.011 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.02097, allocations: 235.8 kB / 1.011 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.02098, allocations: 0 / 1.011 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005239/0.0215, allocations: 313.2 kB / 1.011 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.02152, allocations: 10.28 kB / 1.011 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.02153, allocations: 4 kB / 1.011 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.02155, allocations: 0 / 1.011 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.02171, allocations: 39.92 kB / 1.011 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.02172, allocations: 4 kB / 1.011 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007735/0.02249, allocations: 68.03 kB / 1.011 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.02251, allocations: 12 kB / 1.011 GB, free: 11.32 MB / 0.9669 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.0002796/0.02279, allocations: 226.2 kB / 1.012 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.167e-05/0.02286, allocations: 31.75 kB / 1.012 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000608/0.02346, allocations: 381.4 kB / 1.012 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.02347, allocations: 0 / 1.012 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.02347, allocations: 0 / 1.012 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.02348, allocations: 3.938 kB / 1.012 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003702/0.02385, allocations: 277.1 kB / 1.012 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.02385, allocations: 0 / 1.012 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.02396, allocations: 19.98 kB / 1.012 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.02396, allocations: 0 / 1.012 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.02398, allocations: 11.94 kB / 1.012 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.02399, allocations: 0 / 1.012 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.02399, allocations: 0 / 1.012 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.02454, allocations: 394.5 kB / 1.013 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.437e-05/0.02461, allocations: 43.73 kB / 1.013 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.02466, allocations: 7.938 kB / 1.013 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.02477, allocations: 4 kB / 1.013 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.02485, allocations: 23.97 kB / 1.013 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.02488, allocations: 12 kB / 1.013 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000366/0.02524, allocations: 303 kB / 1.013 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.02524, allocations: 0 / 1.013 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003902/0.02563, allocations: 75.89 kB / 1.013 GB, free: 9.492 MB / 0.9669 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.0002389/0.02587, allocations: 119.1 kB / 1.013 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005341/0.02641, allocations: 262.6 kB / 1.013 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.02641, allocations: 384 / 1.013 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.02663, allocations: 138.1 kB / 1.014 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.0269, allocations: 28.64 kB / 1.014 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.02815, allocations: 0.6826 MB / 1.014 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.02841, allocations: 227.4 kB / 1.014 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002016/0.02861, allocations: 78.23 kB / 1.015 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.923e-05/0.02869, allocations: 28.5 kB / 1.015 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of SimCode: time 6.12e-07/0.02869, allocations: 0 / 1.015 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of Templates: time 0.01119/0.03988, allocations: 5.047 MB / 1.02 GB, free: 2.926 MB / 0.9669 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: 8.349915243685246]