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.001013/0.001013, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001149/0.001149, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9037/0.9037, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.348/2.348, allocations: 438.1 MB / 0.682 GB, free: 14.2 MB / 0.6511 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.863e-06/1.863e-06, allocations: 0 / 0.8897 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.554e-05, allocations: 5.266 kB / 0.8897 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.001374/0.00139, allocations: 0.9774 MB / 0.8907 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.002657, allocations: 1.299 MB / 0.8919 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.893e-05/0.002736, allocations: 4 kB / 0.8919 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.003073, allocations: 111.5 kB / 0.8921 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.399e-05/0.003137, allocations: 67.67 kB / 0.8921 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.003515, allocations: 175.5 kB / 0.8923 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003926/0.003908, allocations: 0.55 MB / 0.8928 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.004147, allocations: 116.3 kB / 0.8929 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.004396, allocations: 311.5 kB / 0.8932 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.004586, allocations: 159.7 kB / 0.8934 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.765e-05/0.004643, allocations: 32 kB / 0.8934 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.004767, allocations: 67.95 kB / 0.8935 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.004929, allocations: 203.5 kB / 0.8937 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.00504, allocations: 143.6 kB / 0.8938 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.005424, allocations: 498.5 kB / 0.8943 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.005426, allocations: 0 / 0.8943 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.12e-07/0.005427, allocations: 0 / 0.8943 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.00543, allocations: 0 / 0.8943 GB, free: 5.121 MB / 0.8542 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.0006705/0.006101, allocations: 0.7416 MB / 0.895 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.006134, allocations: 8.625 kB / 0.895 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.103e-05/0.006215, allocations: 56.7 kB / 0.8951 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.006489, allocations: 312.4 kB / 0.8954 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.006514, allocations: 28.8 kB / 0.8954 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.006559, allocations: 32.38 kB / 0.8954 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.006732, allocations: 157.3 kB / 0.8956 GB, free: 3.719 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.006739, allocations: 192 / 0.8956 GB, free: 3.719 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.006753, allocations: 4.375 kB / 0.8956 GB, free: 3.715 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.006759, allocations: 4.375 kB / 0.8956 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.997e-05/0.006839, allocations: 67.39 kB / 0.8956 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006986/0.007538, allocations: 0.6542 MB / 0.8963 GB, free: 2.961 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.007754, allocations: 154.9 kB / 0.8964 GB, free: 2.797 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.436e-05/0.007798, allocations: 35.67 kB / 0.8965 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.007814, allocations: 4 kB / 0.8965 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.007967, allocations: 154.9 kB / 0.8966 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 1.222e-06/0.007969, allocations: 0 / 0.8966 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.0002786/0.008247, allocations: 251.2 kB / 0.8969 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.008278, allocations: 63.34 kB / 0.8969 GB, free: 2.266 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.008492, allocations: 374.1 kB / 0.8973 GB, free: 1.887 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.008526, allocations: 41.7 kB / 0.8973 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.008657, allocations: 251.5 kB / 0.8976 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.008695, allocations: 67.56 kB / 0.8976 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.008808, allocations: 115.2 kB / 0.8977 GB, free: 1.398 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.008977, allocations: 0.5274 MB / 0.8982 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.089e-05/0.009008, allocations: 23.97 kB / 0.8983 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/0.009431, allocations: 0.8784 MB / 0.8991 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.009551, allocations: 147 kB / 0.8993 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.009552, allocations: 4 kB / 0.8993 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001788/0.009731, allocations: 177.3 kB / 0.8994 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.009743, allocations: 8 kB / 0.8994 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.00975, allocations: 3.938 kB / 0.8995 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.009761, allocations: 4 kB / 0.8995 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.118e-05/0.009842, allocations: 36.11 kB / 0.8995 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.009846, allocations: 4 kB / 0.8995 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.01007, allocations: 47.89 kB / 0.8995 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.01008, allocations: 8 kB / 0.8995 GB, free: 15.24 MB / 0.8698 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.0001039/0.01018, allocations: 192.4 kB / 0.8997 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.01021, allocations: 39.75 kB / 0.8998 GB, free: 15 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.01041, allocations: 204 kB / 0.9 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01041, allocations: 7.984 kB / 0.9 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.01041, allocations: 0 / 0.9 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01041, allocations: 4 kB / 0.9 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.01057, allocations: 221 kB / 0.9002 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01057, allocations: 3.938 kB / 0.9002 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.431e-05/0.01062, allocations: 19.98 kB / 0.9002 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.01063, allocations: 4 kB / 0.9002 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.01064, allocations: 8 kB / 0.9002 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01064, allocations: 0 / 0.9002 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01064, allocations: 3.938 kB / 0.9002 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.01087, allocations: 246 kB / 0.9005 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.774e-05/0.0109, allocations: 31.78 kB / 0.9005 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.01091, allocations: 4 kB / 0.9005 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.939e-05/0.01095, allocations: 8 kB / 0.9005 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.01099, allocations: 27.84 kB / 0.9005 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/0.01113, allocations: 4 kB / 0.9005 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001146/0.01124, allocations: 238.9 kB / 0.9008 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.01124, allocations: 0 / 0.9008 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002/0.01144, allocations: 83.83 kB / 0.9008 GB, free: 13.85 MB / 0.8698 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.0001135/0.01156, allocations: 111.2 kB / 0.9009 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000161/0.01172, allocations: 136 kB / 0.9011 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01172, allocations: 4 kB / 0.9011 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.971e-05/0.01178, allocations: 67.58 kB / 0.9011 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.01194, allocations: 32.64 kB / 0.9012 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.01247, allocations: 0.5493 MB / 0.9017 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.542e-05/0.01254, allocations: 128.2 kB / 0.9018 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.202e-05/0.01261, allocations: 38.59 kB / 0.9019 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.01275, allocations: 142.1 kB / 0.902 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of SimCode: time 5.41e-07/0.01275, allocations: 0 / 0.902 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of Templates: time 0.006771/0.01952, allocations: 5.419 MB / 0.9073 GB, free: 7.285 MB / 0.8698 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.133588064927608]