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.001449/0.001449, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001194/0.001194, allocations: 165.4 kB / 24.17 MB, free: 332 kB / 18.57 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 0.9569/0.9569, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.844/1.844, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|setFloMin.ratFloMinEna.[0-9,]+..y|setFloMin.maxRatFloMinEna.y|setFloMin.V_flow_min.[0-9,]+.|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.[0-9,]+.|setFloMin.ratFloMinEna.[0-9,]+..y|setFloMin.maxRatFloMinEna.y|setFloMin.V_flow_min.[0-9,]+.|setFloMin.VPriSet_flow",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.76 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.277e-05, allocations: 9.203 kB / 0.76 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.001575/0.001598, allocations: 0.9871 MB / 0.7609 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.003253, allocations: 1.307 MB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.918e-05/0.003333, allocations: 7.938 kB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.00365, allocations: 114.1 kB / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.086e-05/0.00372, allocations: 68.94 kB / 0.7624 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.004104, allocations: 174.1 kB / 0.7626 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004024/0.004507, allocations: 0.5541 MB / 0.7631 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.004665, allocations: 130.9 kB / 0.7632 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.004866, allocations: 289.3 kB / 0.7635 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.005015, allocations: 159.6 kB / 0.7637 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.857e-05/0.005064, allocations: 32 kB / 0.7637 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.005177, allocations: 73.23 kB / 0.7638 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.005329, allocations: 183.5 kB / 0.7639 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.00544, allocations: 139.7 kB / 0.7641 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003803/0.005821, allocations: 494.5 kB / 0.7645 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005823, allocations: 5.25 kB / 0.7645 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005823, allocations: 0 / 0.7645 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.005827, allocations: 0 / 0.7645 GB, free: 2.031 MB / 0.7136 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.0006344/0.006462, allocations: 0.5712 MB / 0.7651 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.006491, allocations: 12.78 kB / 0.7651 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.541e-05/0.006567, allocations: 52.83 kB / 0.7652 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.006853, allocations: 270.2 kB / 0.7654 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.006882, allocations: 29.77 kB / 0.7655 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.006931, allocations: 28.38 kB / 0.7655 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.00712, allocations: 168.1 kB / 0.7656 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.007128, allocations: 1.219 kB / 0.7656 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.007146, allocations: 12.38 kB / 0.7657 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.007152, allocations: 4.375 kB / 0.7657 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.021e-05/0.007232, allocations: 56.62 kB / 0.7657 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006523/0.007884, allocations: 0.4932 MB / 0.7662 GB, free: 288 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.008119, allocations: 178.8 kB / 0.7664 GB, free: 96 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.008163, allocations: 32.84 kB / 0.7664 GB, free: 60 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.008179, allocations: 4.656 kB / 0.7664 GB, free: 56 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.008343, allocations: 154.7 kB / 0.7665 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.008345, allocations: 3.938 kB / 0.7666 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21): time 0.0002268/0.008572, allocations: 164.2 kB / 0.7667 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.008607, allocations: 61.48 kB / 0.7668 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.008775, allocations: 274.9 kB / 0.767 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.954e-05/0.008824, allocations: 37.7 kB / 0.7671 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.008907, allocations: 149.5 kB / 0.7672 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.008943, allocations: 59.52 kB / 0.7673 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.009036, allocations: 93.58 kB / 0.7674 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.866e-05/0.009125, allocations: 347.8 kB / 0.7677 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.544e-05/0.00916, allocations: 26.81 kB / 0.7677 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/0.009793, allocations: 0.7942 MB / 0.7685 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.009905, allocations: 132.3 kB / 0.7686 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.009907, allocations: 0 / 0.7686 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001664/0.01007, allocations: 157.7 kB / 0.7688 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.01009, allocations: 8 kB / 0.7688 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.01009, allocations: 0 / 0.7688 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.0101, allocations: 4 kB / 0.7688 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.468e-05/0.01019, allocations: 31.92 kB / 0.7688 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.01019, allocations: 9.547 kB / 0.7688 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.01042, allocations: 55.75 kB / 0.7689 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.01043, allocations: 15.94 kB / 0.7689 GB, free: 13.2 MB / 0.7292 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.0001004/0.01053, allocations: 135.9 kB / 0.769 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.01056, allocations: 27.97 kB / 0.769 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.01072, allocations: 144 kB / 0.7692 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01072, allocations: 4 kB / 0.7692 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.01073, allocations: 0 / 0.7692 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01073, allocations: 0 / 0.7692 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.01087, allocations: 165.7 kB / 0.7693 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01087, allocations: 3.938 kB / 0.7693 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.577e-05/0.01092, allocations: 23.02 kB / 0.7694 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-06/0.01092, allocations: 0 / 0.7694 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.056e-06/0.01092, allocations: 4 kB / 0.7694 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01093, allocations: 4 kB / 0.7694 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01093, allocations: 0 / 0.7694 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.01107, allocations: 168.3 kB / 0.7695 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.0111, allocations: 35.73 kB / 0.7696 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.01111, allocations: 0 / 0.7696 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.744e-05/0.01115, allocations: 9.344 kB / 0.7696 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.0112, allocations: 30.8 kB / 0.7696 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.01121, allocations: 8 kB / 0.7696 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.407e-05/0.01129, allocations: 108.6 kB / 0.7697 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01129, allocations: 1.281 kB / 0.7697 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001788/0.01147, allocations: 75.83 kB / 0.7698 GB, free: 12.22 MB / 0.7292 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.0001246/0.0116, allocations: 112 kB / 0.7699 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001659/0.01176, allocations: 113.3 kB / 0.77 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.01176, allocations: 5.5 kB / 0.77 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.73e-05/0.01182, allocations: 60.77 kB / 0.7701 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.01194, allocations: 32.59 kB / 0.7701 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.0125, allocations: 0.5503 MB / 0.7706 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.617e-05/0.01257, allocations: 116.8 kB / 0.7707 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.646e-05/0.01266, allocations: 33.94 kB / 0.7708 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.01281, allocations: 111.3 kB / 0.7709 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of SimCode: time 6.51e-07/0.01281, allocations: 4.469 kB / 0.7709 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of Templates: time 0.006906/0.01972, allocations: 5.438 MB / 0.7762 GB, free: 5.84 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.951884706038982]