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.001865/0.001865, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002278/0.002278, allocations: 214.8 kB / 22.99 MB, free: 4.98 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.17/3.17, allocations: 0.49 GB / 0.7959 GB, free: 35.62 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.002021/0.002021, allocations: 67.05 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3297, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002372/0.3321, allocations: 0.9516 MB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001873/0.3339, allocations: 1.276 MB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.334, allocations: 4 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.3344, allocations: 111.6 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.3345, allocations: 63.73 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.3351, allocations: 184.9 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006181/0.3357, allocations: 0.5422 MB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.336, allocations: 120.2 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.3362, allocations: 227.5 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.3365, allocations: 207.3 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.3366, allocations: 36 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.3368, allocations: 75.95 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.3371, allocations: 235.5 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.3373, allocations: 167.2 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007211/0.338, allocations: 0.6773 MB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.338, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.332e-06/0.338, allocations: 4 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.338, allocations: 0 / 1.332 GB, free: 12.16 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.001241/0.3392, allocations: 0.6572 MB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3393, allocations: 12.03 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.3394, allocations: 48.69 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007358/0.3402, allocations: 378.7 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.3402, allocations: 20.81 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.501e-05/0.3403, allocations: 28.38 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.3408, allocations: 311.7 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3408, allocations: 192 / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.3408, allocations: 11.94 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3408, allocations: 7.938 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.3413, allocations: 265.5 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.3429, allocations: 0.7633 MB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006582/0.3436, allocations: 362.4 kB / 1.335 GB, free: 9.215 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.3438, allocations: 136.8 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.3438, allocations: 4 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003618/0.3441, allocations: 240.7 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.3441, allocations: 0 / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0008092/0.3449, allocations: 478.9 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.345, allocations: 55.41 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004806/0.3455, allocations: 412.5 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.266e-05/0.3455, allocations: 33.7 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.3457, allocations: 188.8 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.787e-05/0.3458, allocations: 71.52 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.346, allocations: 121.5 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3462, allocations: 342.8 kB / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.3463, allocations: 99.88 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000823/0.3471, allocations: 0.9553 MB / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.3475, allocations: 235.5 kB / 1.338 GB, free: 5.582 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3475, allocations: 4 kB / 1.338 GB, free: 5.578 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005084/0.348, allocations: 314.7 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.348, allocations: 4 kB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.348, allocations: 0 / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.348, allocations: 4 kB / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.3482, allocations: 31.92 kB / 1.338 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3482, allocations: 0 / 1.338 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007926/0.349, allocations: 72.05 kB / 1.338 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.349, allocations: 8 kB / 1.338 GB, free: 5.148 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.0002688/0.3493, allocations: 232.5 kB / 1.338 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.3493, allocations: 31.8 kB / 1.338 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006292/0.3499, allocations: 385.9 kB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3499, allocations: 4 kB / 1.339 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3499, allocations: 0 / 1.339 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.35, allocations: 3.984 kB / 1.339 GB, free: 4.492 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.3503, allocations: 277.1 kB / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3503, allocations: 0 / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.3504, allocations: 23.98 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3504, allocations: 0 / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.3504, allocations: 4 kB / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3504, allocations: 0 / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3504, allocations: 0 / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/0.351, allocations: 396.6 kB / 1.34 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.136e-05/0.351, allocations: 39.69 kB / 1.34 GB, free: 3.719 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.3511, allocations: 7.984 kB / 1.34 GB, free: 3.711 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3512, allocations: 12 kB / 1.34 GB, free: 3.699 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.3512, allocations: 19.97 kB / 1.34 GB, free: 3.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.3513, allocations: 7.938 kB / 1.34 GB, free: 3.672 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003396/0.3516, allocations: 307 kB / 1.34 GB, free: 3.375 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3516, allocations: 0 / 1.34 GB, free: 3.375 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003526/0.352, allocations: 75.89 kB / 1.34 GB, free: 3.301 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.0001973/0.3522, allocations: 121.2 kB / 1.34 GB, free: 3.176 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004629/0.3526, allocations: 264 kB / 1.34 GB, free: 2.918 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3526, allocations: 0 / 1.34 GB, free: 2.918 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.3528, allocations: 131.9 kB / 1.34 GB, free: 2.789 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.3531, allocations: 24.64 kB / 1.34 GB, free: 2.762 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.3542, allocations: 0.6942 MB / 1.341 GB, free: 2.043 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.3545, allocations: 223.5 kB / 1.341 GB, free: 1.801 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001805/0.3546, allocations: 78.23 kB / 1.341 GB, free: 1.727 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.3547, allocations: 27.44 kB / 1.341 GB, free: 1.699 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3547, allocations: 0 / 1.341 GB, free: 1.699 MB / 1.029 GB Notification: Performance of Templates: time 0.0101/0.3648, allocations: 5.36 MB / 1.347 GB, free: 12.42 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 gbode -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: 8.678312157004257]