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.001203/0.001203, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001157/0.001157, allocations: 173 kB / 23.49 MB, free: 1.062 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.9879/0.9879, allocations: 177.1 MB / 203.8 MB, free: 5.645 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 2.074/2.074, allocations: 429.5 MB / 0.6736 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.[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 1.593e-06/1.593e-06, allocations: 0 / 0.8781 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.339e-05, allocations: 5.594 kB / 0.8782 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.004926/0.004949, allocations: 0.9926 MB / 0.8791 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.006453, allocations: 1.296 MB / 0.8804 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.902e-05/0.006542, allocations: 4 kB / 0.8804 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003744/0.006917, allocations: 116.5 kB / 0.8805 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.655e-05/0.007003, allocations: 59.67 kB / 0.8806 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003573/0.01058, allocations: 177.8 kB / 0.8807 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005179/0.01109, allocations: 0.5587 MB / 0.8813 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.0113, allocations: 113.5 kB / 0.8814 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003259/0.01162, allocations: 296.5 kB / 0.8817 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.01186, allocations: 186 kB / 0.8818 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.358e-05/0.01193, allocations: 36 kB / 0.8819 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.01207, allocations: 71.89 kB / 0.8819 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.01231, allocations: 239.5 kB / 0.8822 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.01246, allocations: 147.6 kB / 0.8823 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000503/0.01296, allocations: 499.8 kB / 0.8828 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.01297, allocations: 0 / 0.8828 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.12e-07/0.01297, allocations: 0 / 0.8828 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5e-06/0.01297, allocations: 0 / 0.8828 GB, free: 1.926 MB / 0.8386 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.003929/0.0169, allocations: 0.7661 MB / 0.8835 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.01693, allocations: 8.688 kB / 0.8835 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.01706, allocations: 58.3 kB / 0.8836 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.01749, allocations: 328.9 kB / 0.8839 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.01753, allocations: 28.86 kB / 0.8839 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.395e-05/0.01759, allocations: 32.38 kB / 0.884 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.01788, allocations: 171.8 kB / 0.8841 GB, free: 492 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.01789, allocations: 192 / 0.8841 GB, free: 492 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.01792, allocations: 12.38 kB / 0.8842 GB, free: 480 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.01793, allocations: 4.375 kB / 0.8842 GB, free: 476 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.0181, allocations: 86.88 kB / 0.8842 GB, free: 392 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.01917, allocations: 0.7572 MB / 0.885 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003433/0.0226, allocations: 174.9 kB / 0.8851 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.036e-05/0.02269, allocations: 47.67 kB / 0.8852 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.02271, allocations: 3.984 kB / 0.8852 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.0229, allocations: 173.5 kB / 0.8854 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.0229, allocations: 1.656 kB / 0.8854 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.0004035/0.02331, allocations: 294.7 kB / 0.8856 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.02335, allocations: 59.41 kB / 0.8857 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005853/0.02393, allocations: 378.3 kB / 0.8861 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.485e-05/0.02398, allocations: 37.69 kB / 0.8861 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.02414, allocations: 252.7 kB / 0.8863 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.02419, allocations: 63.48 kB / 0.8864 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.02433, allocations: 115.4 kB / 0.8865 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.02447, allocations: 0.5313 MB / 0.887 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.002e-05/0.02454, allocations: 39.97 kB / 0.8871 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/0.02502, allocations: 0.888 MB / 0.8879 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.0252, allocations: 156.7 kB / 0.8881 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.0252, allocations: 0 / 0.8881 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.003356/0.02856, allocations: 217.3 kB / 0.8883 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.02857, allocations: 7.938 kB / 0.8883 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.02858, allocations: 4 kB / 0.8883 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.02859, allocations: 0 / 0.8883 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.02872, allocations: 35.92 kB / 0.8883 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.02873, allocations: 8 kB / 0.8883 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.02907, allocations: 55.81 kB / 0.8884 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.02908, allocations: 8 kB / 0.8884 GB, free: 11.7 MB / 0.8542 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.0001329/0.02921, allocations: 180.7 kB / 0.8886 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.02926, allocations: 39.75 kB / 0.8886 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.02959, allocations: 241.1 kB / 0.8888 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.0296, allocations: 3.984 kB / 0.8888 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.0296, allocations: 4 kB / 0.8889 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.0296, allocations: 3.938 kB / 0.8889 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.02985, allocations: 276.5 kB / 0.8891 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.02986, allocations: 3.984 kB / 0.8891 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-05/0.02992, allocations: 16 kB / 0.8891 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.02992, allocations: 8 kB / 0.8891 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.02993, allocations: 7.922 kB / 0.8892 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.02994, allocations: 4 kB / 0.8892 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02994, allocations: 0 / 0.8892 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.03025, allocations: 281.4 kB / 0.8894 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.03029, allocations: 35.75 kB / 0.8895 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.03032, allocations: 3.938 kB / 0.8895 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.384e-05/0.03039, allocations: 11.98 kB / 0.8895 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.03044, allocations: 11.98 kB / 0.8895 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.03046, allocations: 11.98 kB / 0.8895 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001926/0.03065, allocations: 254.9 kB / 0.8897 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.03065, allocations: 4 kB / 0.8897 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002999/0.03095, allocations: 79.83 kB / 0.8898 GB, free: 10.17 MB / 0.8542 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.003183/0.03413, allocations: 112.7 kB / 0.8899 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002923/0.03442, allocations: 156 kB / 0.8901 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.03442, allocations: 4 kB / 0.8901 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.03454, allocations: 82.03 kB / 0.8902 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.03478, allocations: 37.02 kB / 0.8902 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007595/0.03554, allocations: 0.5758 MB / 0.8908 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.526e-05/0.03563, allocations: 120.3 kB / 0.8909 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.03575, allocations: 58.23 kB / 0.8909 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/0.03581, allocations: 32.48 kB / 0.891 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of SimCode: time 7.91e-07/0.03581, allocations: 0 / 0.891 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of Templates: time 0.01478/0.05059, allocations: 5.087 MB / 0.8959 GB, free: 3.949 MB / 0.8542 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.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.561648957896978]