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.0009417/0.0009417, allocations: 93.06 kB / 19.65 MB, free: 276 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.001059/0.001059, allocations: 169 kB / 23.02 MB, free: 1.547 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.9823/0.9823, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.107/2.107, allocations: 429.5 MB / 0.6732 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 2.605e-06/2.605e-06, allocations: 0 / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.041e-05/4.301e-05, allocations: 4.703 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.001857/0.0019, allocations: 1 MB / 0.8791 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.003549, allocations: 1.306 MB / 0.8804 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.57e-05/0.003645, allocations: 0 / 0.8804 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004017/0.004046, allocations: 112.4 kB / 0.8805 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.846e-05/0.004125, allocations: 67.61 kB / 0.8806 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.004574, allocations: 174.3 kB / 0.8807 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.005023, allocations: 0.55 MB / 0.8813 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.005225, allocations: 117.6 kB / 0.8814 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.005454, allocations: 295.6 kB / 0.8817 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.005681, allocations: 194.8 kB / 0.8818 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.783e-05/0.005749, allocations: 40 kB / 0.8819 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.005893, allocations: 67.95 kB / 0.8819 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002245/0.006117, allocations: 235.5 kB / 0.8822 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.006247, allocations: 147.7 kB / 0.8823 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004508/0.006698, allocations: 498.4 kB / 0.8828 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.006702, allocations: 0 / 0.8828 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.343e-06/0.006703, allocations: 0 / 0.8828 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.00671, allocations: 0.5938 kB / 0.8828 GB, free: 1.609 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.0008522/0.007563, allocations: 0.7589 MB / 0.8835 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.007601, allocations: 12.03 kB / 0.8835 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.007717, allocations: 54.08 kB / 0.8836 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.008114, allocations: 332.9 kB / 0.8839 GB, free: 404 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.008148, allocations: 20.88 kB / 0.8839 GB, free: 384 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.118e-05/0.008199, allocations: 32.38 kB / 0.884 GB, free: 352 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.008451, allocations: 185.3 kB / 0.8841 GB, free: 160 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.008462, allocations: 192 / 0.8841 GB, free: 160 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.00848, allocations: 4.375 kB / 0.8841 GB, free: 156 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.008489, allocations: 4.375 kB / 0.8841 GB, free: 152 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.008634, allocations: 90.88 kB / 0.8842 GB, free: 64 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009592/0.009593, allocations: 0.7551 MB / 0.885 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.009933, allocations: 170.9 kB / 0.8851 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.835e-05/0.01001, allocations: 51.66 kB / 0.8852 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.01003, allocations: 8.109 kB / 0.8852 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.01023, allocations: 174.8 kB / 0.8854 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 1.823e-06/0.01023, allocations: 0 / 0.8854 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.0004165/0.01065, allocations: 293.2 kB / 0.8856 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.01069, allocations: 55.41 kB / 0.8857 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.01097, allocations: 382.3 kB / 0.8861 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.011, allocations: 33.7 kB / 0.8861 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.01114, allocations: 251.6 kB / 0.8863 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.01127, allocations: 67.47 kB / 0.8864 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.01138, allocations: 115.3 kB / 0.8865 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.01152, allocations: 0.5313 MB / 0.887 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.994e-05/0.01158, allocations: 35.98 kB / 0.8871 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.01199, allocations: 0.886 MB / 0.8879 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.01214, allocations: 156.3 kB / 0.8881 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.01214, allocations: 8 kB / 0.8881 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002559/0.0124, allocations: 213.2 kB / 0.8883 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.01241, allocations: 11.94 kB / 0.8883 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.01242, allocations: 0 / 0.8883 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.01244, allocations: 4 kB / 0.8883 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.01254, allocations: 39.91 kB / 0.8883 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.01255, allocations: 4 kB / 0.8883 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.01281, allocations: 51.83 kB / 0.8884 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.01282, allocations: 4.188 kB / 0.8884 GB, free: 11.39 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.0001189/0.01294, allocations: 188.5 kB / 0.8886 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.01298, allocations: 39.75 kB / 0.8886 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.01328, allocations: 240 kB / 0.8888 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.01328, allocations: 4 kB / 0.8888 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01329, allocations: 0 / 0.8888 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01329, allocations: 0 / 0.8888 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.01351, allocations: 280.4 kB / 0.8891 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.01351, allocations: 0 / 0.8891 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.983e-05/0.01357, allocations: 23.92 kB / 0.8891 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01357, allocations: 4 kB / 0.8891 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.01359, allocations: 11.94 kB / 0.8891 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01359, allocations: 3.984 kB / 0.8891 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01359, allocations: 0 / 0.8891 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.01387, allocations: 274.4 kB / 0.8894 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.0139, allocations: 39.69 kB / 0.8894 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.01393, allocations: 15.92 kB / 0.8895 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.01398, allocations: 0 / 0.8895 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.01403, allocations: 19.97 kB / 0.8895 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.01405, allocations: 8 kB / 0.8895 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001603/0.01421, allocations: 251 kB / 0.8897 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01421, allocations: 0 / 0.8897 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002304/0.01444, allocations: 79.83 kB / 0.8898 GB, free: 9.859 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.0001691/0.01461, allocations: 119.2 kB / 0.8899 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.01485, allocations: 163.1 kB / 0.8901 GB, free: 9.57 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01485, allocations: 0 / 0.8901 GB, free: 9.57 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.396e-05/0.01494, allocations: 87.58 kB / 0.8902 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.01515, allocations: 36.97 kB / 0.8902 GB, free: 9.445 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006774/0.01583, allocations: 0.567 MB / 0.8907 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.243e-05/0.0159, allocations: 120.3 kB / 0.8909 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.016, allocations: 62.22 kB / 0.8909 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.01606, allocations: 28.5 kB / 0.8909 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of SimCode: time 8.01e-07/0.01606, allocations: 0 / 0.8909 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of Templates: time 0.007548/0.02361, allocations: 5.09 MB / 0.8959 GB, free: 3.629 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.575918468181044]