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.00158/0.00158, allocations: 116.4 kB / 17.13 MB, free: 6.004 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.001761/0.001761, allocations: 215.2 kB / 20.1 MB, free: 3.051 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.452/1.452, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.771/2.771, allocations: 0.49 GB / 0.7923 GB, free: 1.289 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.002012/0.002012, allocations: 67.91 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8443/0.8463, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.001947/0.8482, allocations: 0.9939 MB / 1.323 GB, free: 24.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.8496, allocations: 1.302 MB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.149e-05/0.8497, allocations: 6.75 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.85, allocations: 105.6 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.229e-05/0.8501, allocations: 68.06 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.8506, allocations: 164.2 kB / 1.325 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004317/0.851, allocations: 0.5575 MB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.8512, allocations: 146.9 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.8514, allocations: 224.2 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.8516, allocations: 203.8 kB / 1.326 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.993e-05/0.8517, allocations: 36.44 kB / 1.326 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.8518, allocations: 71.42 kB / 1.326 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.852, allocations: 239.4 kB / 1.326 GB, free: 22.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.8522, allocations: 206.3 kB / 1.326 GB, free: 22.64 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006679/0.8529, allocations: 0.6749 MB / 1.327 GB, free: 22.42 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.8529, allocations: 1.094 kB / 1.327 GB, free: 22.42 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8529, allocations: 0 / 1.327 GB, free: 22.42 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.8529, allocations: 0 / 1.327 GB, free: 22.42 MB / 1.061 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.001192/0.8541, allocations: 0.7375 MB / 1.328 GB, free: 21.86 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.8541, allocations: 13.36 kB / 1.328 GB, free: 21.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.8543, allocations: 42.77 kB / 1.328 GB, free: 21.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006504/0.8549, allocations: 433.5 kB / 1.328 GB, free: 21.54 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.855, allocations: 23.47 kB / 1.328 GB, free: 21.53 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.175e-05/0.8551, allocations: 31.67 kB / 1.328 GB, free: 21.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005778/0.8556, allocations: 304.4 kB / 1.328 GB, free: 21.4 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.8556, allocations: 192 / 1.328 GB, free: 21.4 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.8557, allocations: 14.58 kB / 1.328 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.8557, allocations: 4.344 kB / 1.328 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/0.8561, allocations: 260.1 kB / 1.329 GB, free: 21.31 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.8576, allocations: 0.9559 MB / 1.33 GB, free: 20.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005937/0.8582, allocations: 362.7 kB / 1.33 GB, free: 20.66 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.8584, allocations: 133.9 kB / 1.33 GB, free: 20.61 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.8584, allocations: 2.672 kB / 1.33 GB, free: 20.61 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000318/0.8587, allocations: 241.3 kB / 1.33 GB, free: 20.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.8587, allocations: 0 / 1.33 GB, free: 20.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0007393/0.8595, allocations: 482.1 kB / 1.331 GB, free: 20.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.8595, allocations: 57.25 kB / 1.331 GB, free: 20.26 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005064/0.86, allocations: 476 kB / 1.331 GB, free: 20.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.8601, allocations: 38.61 kB / 1.331 GB, free: 20.01 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.8602, allocations: 180 kB / 1.331 GB, free: 19.87 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.8602, allocations: 64.33 kB / 1.331 GB, free: 19.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.8604, allocations: 119 kB / 1.332 GB, free: 19.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.8605, allocations: 348.6 kB / 1.332 GB, free: 19.44 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.8607, allocations: 96.66 kB / 1.332 GB, free: 19.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.8611, allocations: 414.9 kB / 1.332 GB, free: 19.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.8614, allocations: 238.9 kB / 1.333 GB, free: 18.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.8614, allocations: 0.5625 kB / 1.333 GB, free: 18.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005192/0.8619, allocations: 315.9 kB / 1.333 GB, free: 18.85 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.862, allocations: 6.359 kB / 1.333 GB, free: 18.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.862, allocations: 1.531 kB / 1.333 GB, free: 18.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.862, allocations: 3.156 kB / 1.333 GB, free: 18.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.8621, allocations: 30.11 kB / 1.333 GB, free: 18.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.8621, allocations: 3.781 kB / 1.333 GB, free: 18.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007188/0.8629, allocations: 72.62 kB / 1.333 GB, free: 18.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.8629, allocations: 7.578 kB / 1.333 GB, free: 18.82 MB / 1.061 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.0002396/0.8631, allocations: 227.6 kB / 1.333 GB, free: 18.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.522e-05/0.8632, allocations: 33.61 kB / 1.333 GB, free: 18.64 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006519/0.8638, allocations: 389.7 kB / 1.334 GB, free: 18.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.8638, allocations: 2.312 kB / 1.334 GB, free: 18.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8638, allocations: 0.625 kB / 1.334 GB, free: 18.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.8638, allocations: 5.922 kB / 1.334 GB, free: 18.49 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.8642, allocations: 387 kB / 1.334 GB, free: 18.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8642, allocations: 0 / 1.334 GB, free: 18.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.147e-05/0.8643, allocations: 20.22 kB / 1.334 GB, free: 18.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.8643, allocations: 0 / 1.334 GB, free: 18.22 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.8643, allocations: 7.562 kB / 1.334 GB, free: 18.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.8643, allocations: 0.8438 kB / 1.334 GB, free: 18.22 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8643, allocations: 1.062 kB / 1.334 GB, free: 18.22 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.8648, allocations: 397.4 kB / 1.334 GB, free: 18.04 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.8648, allocations: 118.8 kB / 1.335 GB, free: 17.92 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.8649, allocations: 6.547 kB / 1.335 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.865, allocations: 5.672 kB / 1.335 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.865, allocations: 18.11 kB / 1.335 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.865, allocations: 19.66 kB / 1.335 GB, free: 17.9 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00032/0.8654, allocations: 340.8 kB / 1.335 GB, free: 17.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8654, allocations: 1.375 kB / 1.335 GB, free: 17.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003415/0.8657, allocations: 75.67 kB / 1.335 GB, free: 17.73 MB / 1.061 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.0001542/0.8659, allocations: 126.8 kB / 1.335 GB, free: 17.62 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000398/0.8662, allocations: 256.2 kB / 1.335 GB, free: 17.55 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8663, allocations: 3.938 kB / 1.335 GB, free: 17.55 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.8664, allocations: 140.1 kB / 1.336 GB, free: 17.51 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.8667, allocations: 36.86 kB / 1.336 GB, free: 17.49 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009738/0.8677, allocations: 0.7289 MB / 1.336 GB, free: 17.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.8679, allocations: 0.8193 MB / 1.337 GB, free: 16.38 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.2e-05/0.868, allocations: 31.92 kB / 1.337 GB, free: 16.36 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.868, allocations: 0 / 1.337 GB, free: 16.36 MB / 1.061 GB Notification: Performance of Templates: time 0.008751/0.8768, allocations: 5.081 MB / 1.342 GB, free: 15.88 MB / 1.061 GB " [Timeout remaining time 299] 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.540803291005432]