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.001802/0.001802, allocations: 110.5 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002322/0.002322, allocations: 216.7 kB / 23.01 MB, free: 4.566 MB / 14.72 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 1.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.13/3.13, allocations: 0.49 GB / 0.7958 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 66 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.362, allocations: 176.1 MB / 1.327 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002786/0.3648, allocations: 1.017 MB / 1.328 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002136/0.3669, allocations: 1.303 MB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.367, allocations: 7.938 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000448/0.3675, allocations: 107.6 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.3676, allocations: 63.73 kB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.3682, allocations: 176.9 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006942/0.3689, allocations: 0.5577 MB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/0.3692, allocations: 120.2 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.3695, allocations: 227.6 kB / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003337/0.3698, allocations: 203.3 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.703e-05/0.3699, allocations: 40 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.3701, allocations: 75.95 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.3704, allocations: 235.5 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.3707, allocations: 203 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000776/0.3714, allocations: 0.6696 MB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3714, allocations: 0 / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3714, allocations: 0 / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.3714, allocations: 4 kB / 1.332 GB, free: 12.52 MB / 1.029 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.001328/0.3728, allocations: 0.665 MB / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3728, allocations: 8.031 kB / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.373, allocations: 44.7 kB / 1.333 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006801/0.3736, allocations: 374.7 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.3737, allocations: 24.81 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-05/0.3738, allocations: 36.38 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.3743, allocations: 303.7 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3743, allocations: 192 / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.3743, allocations: 15.94 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.3743, allocations: 4 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.3748, allocations: 257.6 kB / 1.334 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.3765, allocations: 0.9109 MB / 1.335 GB, free: 9.785 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006756/0.3772, allocations: 370.4 kB / 1.335 GB, free: 9.414 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.3774, allocations: 132.8 kB / 1.335 GB, free: 9.281 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.3774, allocations: 7.984 kB / 1.335 GB, free: 9.273 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000362/0.3778, allocations: 232.6 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 4.689e-06/0.3778, allocations: 7.984 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0009636/0.3787, allocations: 482.9 kB / 1.336 GB, free: 8.551 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.3788, allocations: 55.41 kB / 1.336 GB, free: 8.484 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005977/0.3794, allocations: 473.6 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.119e-05/0.3795, allocations: 37.7 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.3797, allocations: 177 kB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.3797, allocations: 63.52 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.3799, allocations: 109.6 kB / 1.337 GB, free: 7.613 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3801, allocations: 346.8 kB / 1.337 GB, free: 7.266 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.3802, allocations: 103.9 kB / 1.337 GB, free: 7.164 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/0.3808, allocations: 412.8 kB / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.3811, allocations: 243.4 kB / 1.338 GB, free: 6.414 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3811, allocations: 0 / 1.338 GB, free: 6.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005046/0.3816, allocations: 318.5 kB / 1.338 GB, free: 6.098 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3817, allocations: 10.06 kB / 1.338 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3817, allocations: 4 kB / 1.338 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3817, allocations: 0 / 1.338 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.3818, allocations: 35.92 kB / 1.338 GB, free: 6.051 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/0.3819, allocations: 4 kB / 1.338 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006925/0.3826, allocations: 63.8 kB / 1.338 GB, free: 5.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.3826, allocations: 12 kB / 1.338 GB, free: 5.973 MB / 1.029 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.0002682/0.3829, allocations: 230.1 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.3829, allocations: 31.77 kB / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005944/0.3835, allocations: 389.7 kB / 1.339 GB, free: 5.324 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.3835, allocations: 4 kB / 1.339 GB, free: 5.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3835, allocations: 0 / 1.339 GB, free: 5.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3835, allocations: 3.984 kB / 1.339 GB, free: 5.316 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.3839, allocations: 364.4 kB / 1.339 GB, free: 4.918 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3839, allocations: 0 / 1.339 GB, free: 4.918 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.94e-05/0.384, allocations: 23.98 kB / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.384, allocations: 0 / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.3841, allocations: 8 kB / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3841, allocations: 0 / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3841, allocations: 0 / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/0.3846, allocations: 398.1 kB / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.574e-05/0.3847, allocations: 43.73 kB / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.3847, allocations: 4 kB / 1.339 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3848, allocations: 8 kB / 1.339 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.3849, allocations: 19.97 kB / 1.34 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.3849, allocations: 15.98 kB / 1.34 GB, free: 4.391 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000396/0.3853, allocations: 339.1 kB / 1.34 GB, free: 4.062 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3853, allocations: 0 / 1.34 GB, free: 4.062 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003452/0.3857, allocations: 75.89 kB / 1.34 GB, free: 3.988 MB / 1.029 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.0002118/0.3859, allocations: 121.4 kB / 1.34 GB, free: 3.859 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004782/0.3864, allocations: 263.7 kB / 1.34 GB, free: 3.602 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3864, allocations: 0 / 1.34 GB, free: 3.602 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.3866, allocations: 139.9 kB / 1.34 GB, free: 3.465 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.3868, allocations: 29.36 kB / 1.34 GB, free: 3.438 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.388, allocations: 0.7329 MB / 1.341 GB, free: 2.668 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.3885, allocations: 0.8228 MB / 1.342 GB, free: 1.816 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.006e-05/0.3886, allocations: 31.44 kB / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3886, allocations: 0 / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of Templates: time 0.00847/0.397, allocations: 5.076 MB / 1.347 GB, free: 12.78 MB / 1.045 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/jenkins1/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: 11.962167518999195]