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.001329/0.001329, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001679/0.001679, allocations: 169 kB / 23.02 MB, free: 1.551 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.8916/0.8916, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.036/2.036, allocations: 429.5 MB / 0.6733 GB, free: 4.051 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 3.546e-06/3.546e-06, allocations: 4.656 kB / 0.8781 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.797e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002018/0.002046, allocations: 0.9992 MB / 0.8791 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.003898, allocations: 1.304 MB / 0.8804 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.992e-05/0.003998, allocations: 5.094 kB / 0.8804 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.004393, allocations: 111.5 kB / 0.8805 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.734e-05/0.00449, allocations: 64.64 kB / 0.8806 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.005037, allocations: 173.5 kB / 0.8807 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005562/0.005593, allocations: 0.5547 MB / 0.8813 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.005801, allocations: 113.2 kB / 0.8814 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003504/0.006151, allocations: 307.5 kB / 0.8817 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.006433, allocations: 180.8 kB / 0.8818 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 9.145e-05/0.006524, allocations: 37.53 kB / 0.8819 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.006689, allocations: 67.97 kB / 0.8819 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.006935, allocations: 239.5 kB / 0.8822 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.007102, allocations: 143.6 kB / 0.8823 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.007665, allocations: 495.5 kB / 0.8828 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.007668, allocations: 0 / 0.8828 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.132e-06/0.00767, allocations: 0 / 0.8828 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.007677, allocations: 0.75 kB / 0.8828 GB, free: 1.586 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.0009443/0.008622, allocations: 0.749 MB / 0.8835 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.008658, allocations: 12.02 kB / 0.8835 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.008793, allocations: 60.7 kB / 0.8836 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.009212, allocations: 328.4 kB / 0.8839 GB, free: 388 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.009256, allocations: 24.88 kB / 0.8839 GB, free: 364 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/0.009319, allocations: 32.31 kB / 0.8839 GB, free: 332 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.009651, allocations: 177.3 kB / 0.8841 GB, free: 148 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.009662, allocations: 192 / 0.8841 GB, free: 148 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.00969, allocations: 16.98 kB / 0.8841 GB, free: 132 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.009702, allocations: 8.375 kB / 0.8841 GB, free: 124 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.009883, allocations: 86.88 kB / 0.8842 GB, free: 40 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.01112, allocations: 0.7434 MB / 0.8849 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.01156, allocations: 170.9 kB / 0.8851 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.01166, allocations: 51.66 kB / 0.8852 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.01168, allocations: 0 / 0.8852 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/0.01194, allocations: 174.8 kB / 0.8853 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 1.904e-06/0.01194, allocations: 4 kB / 0.8853 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.0005846/0.01253, allocations: 294.9 kB / 0.8856 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.01259, allocations: 55.41 kB / 0.8857 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/0.01297, allocations: 378.3 kB / 0.886 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.602e-05/0.01303, allocations: 37.7 kB / 0.8861 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003909/0.01342, allocations: 255.5 kB / 0.8863 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.85e-05/0.01348, allocations: 63.53 kB / 0.8864 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.01364, allocations: 115.4 kB / 0.8865 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.01382, allocations: 0.5313 MB / 0.887 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.036e-05/0.0139, allocations: 35.98 kB / 0.887 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.01435, allocations: 0.8908 MB / 0.8879 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.01452, allocations: 160.2 kB / 0.8881 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.01452, allocations: 0 / 0.8881 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002844/0.01481, allocations: 213.4 kB / 0.8883 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.01483, allocations: 14.62 kB / 0.8883 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.01484, allocations: 4 kB / 0.8883 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.01486, allocations: 0 / 0.8883 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.01499, allocations: 47.91 kB / 0.8883 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.015, allocations: 4 kB / 0.8883 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.01526, allocations: 47.88 kB / 0.8884 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.01528, allocations: 12 kB / 0.8884 GB, free: 11.36 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.0001362/0.01542, allocations: 180.5 kB / 0.8886 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.01546, allocations: 47.73 kB / 0.8886 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.01578, allocations: 241.1 kB / 0.8888 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.01578, allocations: 0 / 0.8888 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.01578, allocations: 0 / 0.8888 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.01579, allocations: 0 / 0.8888 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.01603, allocations: 276.5 kB / 0.8891 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.01603, allocations: 0 / 0.8891 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.928e-05/0.01611, allocations: 19.94 kB / 0.8891 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.01612, allocations: 0 / 0.8891 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.01613, allocations: 15.92 kB / 0.8891 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01614, allocations: 0 / 0.8891 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01614, allocations: 0 / 0.8891 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.0164, allocations: 284.8 kB / 0.8894 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.01644, allocations: 31.75 kB / 0.8894 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.01646, allocations: 11.94 kB / 0.8894 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.894e-05/0.01651, allocations: 7.984 kB / 0.8894 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.01657, allocations: 11.98 kB / 0.8895 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.01659, allocations: 11.98 kB / 0.8895 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001618/0.01675, allocations: 254.9 kB / 0.8897 GB, free: 9.922 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01675, allocations: 0 / 0.8897 GB, free: 9.922 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002422/0.01699, allocations: 71.89 kB / 0.8898 GB, free: 9.852 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.0001939/0.01718, allocations: 121 kB / 0.8899 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.01743, allocations: 165.3 kB / 0.8901 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01743, allocations: 0 / 0.8901 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/0.01752, allocations: 85.84 kB / 0.8901 GB, free: 9.473 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.01773, allocations: 32.64 kB / 0.8902 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000761/0.01849, allocations: 0.5614 MB / 0.8907 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.073e-05/0.01856, allocations: 124.3 kB / 0.8908 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001109/0.01867, allocations: 54.23 kB / 0.8909 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.01872, allocations: 32.48 kB / 0.8909 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of SimCode: time 8.61e-07/0.01872, allocations: 7.938 kB / 0.8909 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of Templates: time 0.007248/0.02597, allocations: 5.366 MB / 0.8962 GB, free: 3.348 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.210201684851199]