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.001387/0.001387, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001564/0.001564, allocations: 215.9 kB / 23 MB, free: 4.945 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.267/3.267, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] 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.002119/0.002119, allocations: 67.36 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3599, allocations: 176.1 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002458/0.3624, allocations: 0.9613 MB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.3644, allocations: 1.268 MB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.3645, allocations: 4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000427/0.3649, allocations: 111.6 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.365, allocations: 59.73 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.3656, allocations: 180.7 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006554/0.3663, allocations: 0.5461 MB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002654/0.3666, allocations: 120.2 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.3668, allocations: 223.6 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.3671, allocations: 211.3 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.3672, allocations: 36 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.3674, allocations: 75.91 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.3677, allocations: 231.5 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002097/0.3679, allocations: 183.2 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007604/0.3687, allocations: 0.6657 MB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3687, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3687, allocations: 3.938 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.3687, allocations: 0 / 1.332 GB, free: 12.17 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.00131/0.37, allocations: 0.6651 MB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3701, allocations: 8.031 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.3702, allocations: 40.7 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007194/0.3709, allocations: 378.7 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.371, allocations: 24.81 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.531e-05/0.371, allocations: 28.38 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005186/0.3716, allocations: 311.7 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3716, allocations: 192 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.3716, allocations: 11.94 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3716, allocations: 4 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000412/0.372, allocations: 261.5 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.3736, allocations: 0.7672 MB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006656/0.3743, allocations: 367.5 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.3745, allocations: 132.8 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.3745, allocations: 0 / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000355/0.3749, allocations: 236.3 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.3749, allocations: 0 / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0008022/0.3757, allocations: 483.1 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.3757, allocations: 55.41 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004756/0.3762, allocations: 412.5 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/0.3763, allocations: 41.69 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.3765, allocations: 196.8 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.459e-05/0.3765, allocations: 63.47 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.3767, allocations: 109.6 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3769, allocations: 342.8 kB / 1.337 GB, free: 7.137 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.377, allocations: 107.9 kB / 1.337 GB, free: 7.031 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000796/0.3778, allocations: 0.9592 MB / 1.338 GB, free: 5.848 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.3781, allocations: 223.5 kB / 1.338 GB, free: 5.609 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3781, allocations: 4 kB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004956/0.3786, allocations: 318.7 kB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3787, allocations: 4 kB / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.3787, allocations: 4 kB / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3787, allocations: 4 kB / 1.338 GB, free: 5.277 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.3788, allocations: 27.92 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.3788, allocations: 11.92 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007693/0.3796, allocations: 64.06 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.3796, allocations: 8 kB / 1.338 GB, free: 5.168 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.000275/0.3799, allocations: 236.5 kB / 1.338 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.38, allocations: 27.81 kB / 1.338 GB, free: 4.902 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006184/0.3806, allocations: 389.5 kB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3806, allocations: 0 / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.3806, allocations: 8 kB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3806, allocations: 0 / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/0.3809, allocations: 269.1 kB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3809, allocations: 4 kB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.381, allocations: 23.98 kB / 1.339 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.381, allocations: 0 / 1.339 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.381, allocations: 4 kB / 1.339 GB, free: 4.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3811, allocations: 3.984 kB / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3811, allocations: 0 / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005336/0.3816, allocations: 396.6 kB / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.847e-05/0.3817, allocations: 43.67 kB / 1.34 GB, free: 3.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.3817, allocations: 0 / 1.34 GB, free: 3.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.3818, allocations: 8 kB / 1.34 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.3819, allocations: 19.97 kB / 1.34 GB, free: 3.703 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.3819, allocations: 15.98 kB / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003404/0.3822, allocations: 303 kB / 1.34 GB, free: 3.395 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3822, allocations: 0 / 1.34 GB, free: 3.395 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003695/0.3826, allocations: 71.89 kB / 1.34 GB, free: 3.324 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.0001964/0.3828, allocations: 121.6 kB / 1.34 GB, free: 3.199 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000466/0.3833, allocations: 261.4 kB / 1.34 GB, free: 2.945 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3833, allocations: 384 / 1.34 GB, free: 2.945 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.3835, allocations: 135.9 kB / 1.34 GB, free: 2.812 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.3837, allocations: 26.02 kB / 1.34 GB, free: 2.785 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.3849, allocations: 0.6983 MB / 1.341 GB, free: 2.062 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.3851, allocations: 219.5 kB / 1.341 GB, free: 1.824 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001817/0.3853, allocations: 78.19 kB / 1.341 GB, free: 1.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.645e-05/0.3853, allocations: 27.42 kB / 1.341 GB, free: 1.723 MB / 1.029 GB Notification: Performance of SimCode: time 4e-07/0.3853, allocations: 7.938 kB / 1.341 GB, free: 1.715 MB / 1.029 GB Notification: Performance of Templates: time 0.01059/0.3959, allocations: 5.354 MB / 1.347 GB, free: 12.44 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 -s cvode -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: 9.414071979001164]