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.00131/0.00131, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001513/0.001513, allocations: 216.1 kB / 22.99 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.164/3.164, allocations: 0.4892 GB / 0.7951 GB, free: 35.56 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.002082/0.002082, allocations: 66.53 kB / 1.154 GB, free: 25.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3326, allocations: 176.1 MB / 1.326 GB, free: 2.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002703/0.3353, allocations: 0.9455 MB / 1.327 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.3374, allocations: 1.283 MB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.3376, allocations: 3.938 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004512/0.338, allocations: 115.6 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.3382, allocations: 51.81 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006504/0.3388, allocations: 182.3 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007305/0.3395, allocations: 0.5461 MB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.3398, allocations: 125 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003578/0.3402, allocations: 223.6 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003807/0.3405, allocations: 199.4 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.3407, allocations: 36 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.3409, allocations: 79.95 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003576/0.3413, allocations: 243.4 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003015/0.3416, allocations: 167.3 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000903/0.3425, allocations: 0.6696 MB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3425, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3425, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.775e-05/0.3425, allocations: 0 / 1.331 GB, free: 13.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.001664/0.3442, allocations: 0.6689 MB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.3442, allocations: 8.031 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.3444, allocations: 48.69 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008818/0.3453, allocations: 370.8 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.979e-05/0.3454, allocations: 24.81 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-05/0.3455, allocations: 28.36 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.346, allocations: 307.7 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.346, allocations: 192 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.3461, allocations: 11.88 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.3461, allocations: 11.98 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004521/0.3465, allocations: 261.6 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.3483, allocations: 0.7672 MB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006944/0.349, allocations: 366.3 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.3492, allocations: 132.8 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.3492, allocations: 4 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003851/0.3496, allocations: 232.5 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.884e-06/0.3496, allocations: 0 / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.000862/0.3505, allocations: 483 kB / 1.335 GB, free: 9.371 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.3505, allocations: 55.41 kB / 1.335 GB, free: 9.305 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000553/0.3511, allocations: 416.5 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/0.3511, allocations: 33.7 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.3513, allocations: 188.8 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-05/0.3514, allocations: 63.55 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.3516, allocations: 113.6 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3518, allocations: 346.8 kB / 1.336 GB, free: 8.133 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.3519, allocations: 103.9 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008751/0.3528, allocations: 0.9591 MB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.3531, allocations: 235.5 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3531, allocations: 0 / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005525/0.3537, allocations: 318.5 kB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3537, allocations: 11.94 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3537, allocations: 112 / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3537, allocations: 7.938 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.3539, allocations: 27.92 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.3539, allocations: 4 kB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006968/0.3546, allocations: 64.09 kB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.3546, allocations: 12 kB / 1.337 GB, free: 6.156 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.0002828/0.3549, allocations: 230.1 kB / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.355, allocations: 31.77 kB / 1.338 GB, free: 5.891 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006056/0.3556, allocations: 382 kB / 1.338 GB, free: 5.512 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3556, allocations: 4 kB / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.3556, allocations: 3.984 kB / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3556, allocations: 0 / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.3559, allocations: 269.1 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3559, allocations: 0 / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.356, allocations: 27.92 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.356, allocations: 4 kB / 1.338 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.3561, allocations: 0 / 1.338 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3561, allocations: 3.984 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3561, allocations: 4 kB / 1.338 GB, free: 5.172 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006018/0.3567, allocations: 392.7 kB / 1.339 GB, free: 4.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.64e-05/0.3567, allocations: 35.75 kB / 1.339 GB, free: 4.734 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.3568, allocations: 3.984 kB / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3569, allocations: 8 kB / 1.339 GB, free: 4.723 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.357, allocations: 23.91 kB / 1.339 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.357, allocations: 8 kB / 1.339 GB, free: 4.691 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003751/0.3574, allocations: 311 kB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3574, allocations: 0 / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003531/0.3577, allocations: 75.89 kB / 1.339 GB, free: 4.316 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.0001816/0.3579, allocations: 115.7 kB / 1.339 GB, free: 4.195 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004736/0.3584, allocations: 265 kB / 1.34 GB, free: 3.938 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3584, allocations: 0 / 1.34 GB, free: 3.938 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.3586, allocations: 144.2 kB / 1.34 GB, free: 3.797 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.3588, allocations: 30.52 kB / 1.34 GB, free: 3.766 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.36, allocations: 0.7196 MB / 1.34 GB, free: 3.016 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.3602, allocations: 215.4 kB / 1.341 GB, free: 2.781 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.511e-05/0.3603, allocations: 39.42 kB / 1.341 GB, free: 2.742 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3603, allocations: 0 / 1.341 GB, free: 2.742 MB / 1.029 GB Notification: Performance of Templates: time 0.008677/0.369, allocations: 5.018 MB / 1.346 GB, free: 13.79 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.606020434293896]