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.001805/0.001805, allocations: 106.9 kB / 16.45 MB, free: 6.5 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.002202/0.002202, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.545/1.545, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.302/3.302, allocations: 0.4899 GB / 0.7915 GB, free: 33.34 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.00214/0.00214, allocations: 63.72 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3671, allocations: 176.1 MB / 1.321 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002742/0.3698, allocations: 1.015 MB / 1.322 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00206/0.3719, allocations: 1.291 MB / 1.323 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.372, allocations: 8 kB / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000449/0.3724, allocations: 107.6 kB / 1.324 GB, free: 436 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.3725, allocations: 67.73 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005885/0.3731, allocations: 170.5 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007125/0.3738, allocations: 0.5539 MB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.3741, allocations: 144.6 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.3744, allocations: 231.5 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.3747, allocations: 199.3 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.421e-05/0.3748, allocations: 36 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.3749, allocations: 75.97 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003166/0.3753, allocations: 239.5 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.3755, allocations: 203 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007364/0.3762, allocations: 0.6618 MB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.3762, allocations: 8 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3762, allocations: 0 / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.3762, allocations: 0 / 1.326 GB, free: 13.86 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.001387/0.3776, allocations: 0.7403 MB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3777, allocations: 11.98 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.3778, allocations: 44.7 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006211/0.3784, allocations: 432.6 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.3785, allocations: 28.78 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.832e-05/0.3785, allocations: 32.38 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.379, allocations: 303.7 kB / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.379, allocations: 4.125 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.3791, allocations: 15.94 kB / 1.328 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.3791, allocations: 8 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.3795, allocations: 253.6 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.3811, allocations: 0.9469 MB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007319/0.3818, allocations: 358.4 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.3821, allocations: 136.8 kB / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.3821, allocations: 12 kB / 1.329 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000376/0.3825, allocations: 231.2 kB / 1.33 GB, free: 10.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.3825, allocations: 0 / 1.33 GB, free: 10.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.000848/0.3833, allocations: 479.3 kB / 1.33 GB, free: 9.699 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.636e-05/0.3834, allocations: 59.34 kB / 1.33 GB, free: 9.629 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005565/0.3839, allocations: 477.6 kB / 1.33 GB, free: 9.156 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.384, allocations: 37.7 kB / 1.331 GB, free: 9.113 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.3842, allocations: 180.9 kB / 1.331 GB, free: 8.934 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.523e-05/0.3842, allocations: 67.47 kB / 1.331 GB, free: 8.867 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.3844, allocations: 113.5 kB / 1.331 GB, free: 8.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3846, allocations: 346.8 kB / 1.331 GB, free: 8.402 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.3847, allocations: 95.95 kB / 1.331 GB, free: 8.309 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000535/0.3853, allocations: 418.5 kB / 1.332 GB, free: 7.812 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.3856, allocations: 239.6 kB / 1.332 GB, free: 7.559 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3856, allocations: 4 kB / 1.332 GB, free: 7.555 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004971/0.3861, allocations: 311.1 kB / 1.332 GB, free: 7.246 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3861, allocations: 8 kB / 1.332 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3861, allocations: 3.938 kB / 1.332 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3861, allocations: 7.938 kB / 1.332 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.3863, allocations: 27.98 kB / 1.332 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.3863, allocations: 8.125 kB / 1.332 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008611/0.3871, allocations: 79.78 kB / 1.332 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.3872, allocations: 8 kB / 1.332 GB, free: 7.105 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.000244/0.3874, allocations: 209.7 kB / 1.333 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.3874, allocations: 35.77 kB / 1.333 GB, free: 6.855 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005803/0.388, allocations: 396.7 kB / 1.333 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.388, allocations: 0 / 1.333 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.388, allocations: 0 / 1.333 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.388, allocations: 0 / 1.333 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003953/0.3884, allocations: 389.2 kB / 1.333 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3884, allocations: 0 / 1.333 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/0.3885, allocations: 19.98 kB / 1.333 GB, free: 6.016 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3885, allocations: 0 / 1.333 GB, free: 6.016 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.3885, allocations: 8 kB / 1.333 GB, free: 6.008 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3886, allocations: 7.922 kB / 1.333 GB, free: 6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3886, allocations: 0 / 1.333 GB, free: 6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.3891, allocations: 395.3 kB / 1.334 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3892, allocations: 116.9 kB / 1.334 GB, free: 5.465 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.3893, allocations: 4 kB / 1.334 GB, free: 5.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3894, allocations: 7.984 kB / 1.334 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.3894, allocations: 15.98 kB / 1.334 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.3895, allocations: 12 kB / 1.334 GB, free: 5.426 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003897/0.3898, allocations: 339.1 kB / 1.334 GB, free: 5.094 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3898, allocations: 8 kB / 1.334 GB, free: 5.086 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003467/0.3902, allocations: 79.81 kB / 1.334 GB, free: 5.008 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.0002063/0.3904, allocations: 123.1 kB / 1.334 GB, free: 4.875 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004611/0.3909, allocations: 255.7 kB / 1.335 GB, free: 4.625 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3909, allocations: 0 / 1.335 GB, free: 4.625 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.3911, allocations: 141.7 kB / 1.335 GB, free: 4.488 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.3913, allocations: 45.3 kB / 1.335 GB, free: 4.445 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.3925, allocations: 0.6882 MB / 1.336 GB, free: 3.723 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.393, allocations: 0.8262 MB / 1.336 GB, free: 2.871 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000172/0.3931, allocations: 82.19 kB / 1.336 GB, free: 2.793 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.039e-05/0.3932, allocations: 31.42 kB / 1.336 GB, free: 2.762 MB / 1.029 GB Notification: Performance of SimCode: time 4.5e-07/0.3932, allocations: 4 kB / 1.336 GB, free: 2.758 MB / 1.029 GB Notification: Performance of Templates: time 0.01062/0.4038, allocations: 4.996 MB / 1.341 GB, free: 13.8 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/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: 9.162216617260128]