Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008459/0.0008459, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.000841/0.000841, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8624/0.8624, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.73/1.73, allocations: 377.9 MB / 0.6229 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.528e-06/4.528e-06, allocations: 0 / 0.9822 GB, free: 2.137 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.955e-05/4.408e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.001893/0.001937, allocations: 0.9542 MB / 0.9831 GB, free: 1.18 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.003517, allocations: 1.287 MB / 0.9844 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.949e-05/0.003617, allocations: 4 kB / 0.9844 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004532/0.00407, allocations: 111.5 kB / 0.9845 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 7.598e-05/0.004146, allocations: 59.72 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.004634, allocations: 179.5 kB / 0.9847 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004669/0.005101, allocations: 0.5461 MB / 0.9852 GB, free: 14.98 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.005311, allocations: 112.3 kB / 0.9853 GB, free: 14.88 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.005548, allocations: 295.6 kB / 0.9856 GB, free: 14.59 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.005801, allocations: 187.6 kB / 0.9858 GB, free: 14.4 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.956e-05/0.005861, allocations: 44 kB / 0.9858 GB, free: 14.36 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.005987, allocations: 71.89 kB / 0.9859 GB, free: 14.29 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.006197, allocations: 239.5 kB / 0.9861 GB, free: 14.05 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.006319, allocations: 147.6 kB / 0.9863 GB, free: 13.91 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005947/0.006913, allocations: 0.7168 MB / 0.987 GB, free: 13.19 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.006917, allocations: 0 / 0.987 GB, free: 13.19 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.006918, allocations: 0 / 0.987 GB, free: 13.19 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.006925, allocations: 0 / 0.987 GB, free: 13.19 MB / 0.948 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.0009648/0.00789, allocations: 0.6612 MB / 0.9876 GB, free: 12.49 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.007934, allocations: 12.02 kB / 0.9876 GB, free: 12.48 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.008037, allocations: 44.7 kB / 0.9877 GB, free: 12.44 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004928/0.00853, allocations: 378.1 kB / 0.988 GB, free: 12.04 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.008562, allocations: 20.88 kB / 0.9881 GB, free: 12.02 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.008619, allocations: 36.36 kB / 0.9881 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.00899, allocations: 300.5 kB / 0.9884 GB, free: 11.69 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.009006, allocations: 4.125 kB / 0.9884 GB, free: 11.68 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.00903, allocations: 16.36 kB / 0.9884 GB, free: 11.67 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.009038, allocations: 12.3 kB / 0.9884 GB, free: 11.66 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.009326, allocations: 257.8 kB / 0.9886 GB, free: 11.41 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.01036, allocations: 0.7675 MB / 0.9894 GB, free: 10.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.01086, allocations: 365.2 kB / 0.9897 GB, free: 10.24 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.011, allocations: 132.8 kB / 0.9899 GB, free: 10.11 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.01103, allocations: 7.938 kB / 0.9899 GB, free: 10.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002534/0.01128, allocations: 236.3 kB / 0.9901 GB, free: 9.859 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 2.234e-06/0.01128, allocations: 0 / 0.9901 GB, free: 9.859 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.0005891/0.01187, allocations: 482.9 kB / 0.9906 GB, free: 9.383 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.01192, allocations: 55.34 kB / 0.9906 GB, free: 9.316 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.01224, allocations: 420.5 kB / 0.991 GB, free: 8.902 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/0.01228, allocations: 33.7 kB / 0.9911 GB, free: 8.863 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.01241, allocations: 192.7 kB / 0.9912 GB, free: 8.672 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.01246, allocations: 59.53 kB / 0.9913 GB, free: 8.613 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.01257, allocations: 121.5 kB / 0.9914 GB, free: 8.488 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.01269, allocations: 342.8 kB / 0.9917 GB, free: 8.145 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.81e-05/0.01278, allocations: 95.94 kB / 0.9918 GB, free: 8.051 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/0.01335, allocations: 0.9669 MB / 0.9928 GB, free: 6.859 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.01367, allocations: 239.9 kB / 0.993 GB, free: 6.605 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.01367, allocations: 0 / 0.993 GB, free: 6.605 MB / 0.948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004499/0.01412, allocations: 309.2 kB / 0.9933 GB, free: 6.297 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.01415, allocations: 7.938 kB / 0.9933 GB, free: 6.289 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.01415, allocations: 4.188 kB / 0.9933 GB, free: 6.285 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.01417, allocations: 8.047 kB / 0.9933 GB, free: 6.277 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.0143, allocations: 31.92 kB / 0.9933 GB, free: 6.246 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.01431, allocations: 0 / 0.9933 GB, free: 6.246 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.01483, allocations: 75.78 kB / 0.9934 GB, free: 6.172 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.01485, allocations: 8 kB / 0.9934 GB, free: 6.164 MB / 0.948 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.0002319/0.01508, allocations: 226.2 kB / 0.9936 GB, free: 5.934 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.01513, allocations: 31.75 kB / 0.9937 GB, free: 5.902 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005432/0.01567, allocations: 381.9 kB / 0.994 GB, free: 5.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.01567, allocations: 4 kB / 0.994 GB, free: 5.516 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.01568, allocations: 0 / 0.994 GB, free: 5.516 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.01569, allocations: 7.984 kB / 0.994 GB, free: 5.508 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.01596, allocations: 273.1 kB / 0.9943 GB, free: 5.211 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01597, allocations: 0 / 0.9943 GB, free: 5.211 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.771e-05/0.01605, allocations: 19.98 kB / 0.9943 GB, free: 5.191 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01606, allocations: 0 / 0.9943 GB, free: 5.191 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.01607, allocations: 11.94 kB / 0.9943 GB, free: 5.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.01608, allocations: 4 kB / 0.9943 GB, free: 5.176 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01608, allocations: 0 / 0.9943 GB, free: 5.176 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004857/0.01656, allocations: 388.7 kB / 0.9947 GB, free: 4.777 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.01662, allocations: 31.8 kB / 0.9947 GB, free: 4.746 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.01666, allocations: 11.92 kB / 0.9948 GB, free: 4.734 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.01674, allocations: 8 kB / 0.9948 GB, free: 4.727 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.0168, allocations: 19.97 kB / 0.9948 GB, free: 4.707 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.01682, allocations: 4 kB / 0.9948 GB, free: 4.703 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003326/0.01715, allocations: 303 kB / 0.9951 GB, free: 4.406 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01715, allocations: 0 / 0.9951 GB, free: 4.406 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003725/0.01753, allocations: 79.83 kB / 0.9952 GB, free: 4.328 MB / 0.948 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.0002044/0.01773, allocations: 129.2 kB / 0.9953 GB, free: 4.195 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004268/0.01816, allocations: 263.7 kB / 0.9955 GB, free: 3.938 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01816, allocations: 0 / 0.9955 GB, free: 3.938 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.01835, allocations: 139.9 kB / 0.9957 GB, free: 3.801 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.01864, allocations: 34.92 kB / 0.9957 GB, free: 3.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.01968, allocations: 0.7173 MB / 0.9964 GB, free: 3.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.01989, allocations: 211.5 kB / 0.9966 GB, free: 2.797 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.164e-05/0.01997, allocations: 32.48 kB / 0.9966 GB, free: 2.766 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/0.01997, allocations: 0 / 0.9966 GB, free: 2.766 MB / 0.948 GB Notification: Performance of Templates: time 0.006482/0.02645, allocations: 5.018 MB / 1.002 GB, free: 13.82 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.828987100161612]