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.0009692/0.0009692, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001014/0.001014, allocations: 161 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.9817/0.9817, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.94/1.94, allocations: 377.9 MB / 0.624 GB, free: 8.379 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.553e-06/1.553e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115e-05/1.27e-05, allocations: 6.859 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.001491/0.001504, allocations: 1.03 MB / 0.761 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.002798, allocations: 1.303 MB / 0.7623 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.288e-05/0.002871, allocations: 8.719 kB / 0.7623 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.003173, allocations: 118.5 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.074e-05/0.003244, allocations: 68.33 kB / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.003592, allocations: 170.3 kB / 0.7627 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000407/0.003999, allocations: 0.5609 MB / 0.7632 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.004156, allocations: 118.9 kB / 0.7633 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.004388, allocations: 299.6 kB / 0.7636 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.004566, allocations: 157.9 kB / 0.7638 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.057e-05/0.004616, allocations: 36 kB / 0.7638 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.004745, allocations: 71.89 kB / 0.7639 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.004887, allocations: 179.6 kB / 0.764 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.004999, allocations: 149.1 kB / 0.7642 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.005368, allocations: 490.5 kB / 0.7646 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.00537, allocations: 0 / 0.7646 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.21e-07/0.00537, allocations: 0 / 0.7646 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.005375, allocations: 1.25 kB / 0.7646 GB, free: 1.945 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.0005648/0.00594, allocations: 0.5829 MB / 0.7652 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.642e-05/0.005966, allocations: 8.031 kB / 0.7652 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.006036, allocations: 44.89 kB / 0.7653 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.006304, allocations: 268.7 kB / 0.7655 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.006329, allocations: 24.88 kB / 0.7655 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.006376, allocations: 32.38 kB / 0.7656 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.006561, allocations: 168.1 kB / 0.7657 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.006568, allocations: 4.125 kB / 0.7657 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.006583, allocations: 8.359 kB / 0.7657 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.006589, allocations: 4.375 kB / 0.7657 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.168e-05/0.006671, allocations: 59.36 kB / 0.7658 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006222/0.007293, allocations: 0.4906 MB / 0.7663 GB, free: 204 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.007513, allocations: 186.8 kB / 0.7665 GB, free: 4 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.718e-05/0.007571, allocations: 36.84 kB / 0.7665 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.007583, allocations: 4 kB / 0.7665 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.007723, allocations: 154.6 kB / 0.7666 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.007725, allocations: 1.188 kB / 0.7666 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21): time 0.0002126/0.007937, allocations: 162.1 kB / 0.7668 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.007967, allocations: 55.41 kB / 0.7669 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.008134, allocations: 279.5 kB / 0.7671 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.008177, allocations: 37.7 kB / 0.7672 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.901e-05/0.008256, allocations: 150 kB / 0.7673 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.008292, allocations: 59.5 kB / 0.7674 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.863e-05/0.00839, allocations: 96.86 kB / 0.7675 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.008473, allocations: 346.7 kB / 0.7678 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.583e-05/0.008509, allocations: 30.81 kB / 0.7678 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.008831, allocations: 0.7834 MB / 0.7686 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.008939, allocations: 132.3 kB / 0.7687 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.008941, allocations: 0 / 0.7687 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000161/0.009102, allocations: 158.3 kB / 0.7689 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.009117, allocations: 8 kB / 0.7689 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.009122, allocations: 0 / 0.7689 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.009133, allocations: 5.812 kB / 0.7689 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.958e-05/0.009223, allocations: 39.92 kB / 0.7689 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.009226, allocations: 3.938 kB / 0.7689 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.009457, allocations: 59.75 kB / 0.769 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.009465, allocations: 4.594 kB / 0.769 GB, free: 13.12 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 9.917e-05/0.009564, allocations: 139.1 kB / 0.7691 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.009588, allocations: 19.97 kB / 0.7691 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.009744, allocations: 149.8 kB / 0.7693 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.009748, allocations: 7.984 kB / 0.7693 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.009749, allocations: 0 / 0.7693 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.009752, allocations: 0 / 0.7693 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.009888, allocations: 168.7 kB / 0.7694 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.009889, allocations: 3.938 kB / 0.7694 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.00994, allocations: 19.98 kB / 0.7695 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.009942, allocations: 3.938 kB / 0.7695 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.00995, allocations: 8 kB / 0.7695 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.009951, allocations: 0 / 0.7695 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009952, allocations: 0 / 0.7695 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.01009, allocations: 164.5 kB / 0.7696 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.01012, allocations: 33.31 kB / 0.7697 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.01014, allocations: 7.984 kB / 0.7697 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.729e-05/0.01018, allocations: 7.938 kB / 0.7697 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.01022, allocations: 34.8 kB / 0.7697 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.01023, allocations: 5.281 kB / 0.7697 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.102e-05/0.01031, allocations: 104.6 kB / 0.7698 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01031, allocations: 0 / 0.7698 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001877/0.0105, allocations: 80.48 kB / 0.7699 GB, free: 12.13 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.0001216/0.01062, allocations: 105.2 kB / 0.77 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.01077, allocations: 116.3 kB / 0.7701 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.01077, allocations: 4.844 kB / 0.7701 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.79e-05/0.01083, allocations: 60.77 kB / 0.7702 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.01094, allocations: 41.14 kB / 0.7702 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005478/0.01149, allocations: 0.5427 MB / 0.7707 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.803e-05/0.01156, allocations: 120.3 kB / 0.7708 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.079e-05/0.01164, allocations: 38.25 kB / 0.7709 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.0118, allocations: 107.3 kB / 0.771 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of SimCode: time 6.32e-07/0.0118, allocations: 4.938 kB / 0.771 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of Templates: time 0.00756/0.01936, allocations: 5.442 MB / 0.7763 GB, free: 5.738 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 -s gbode -gbm=radauIIA3 -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: 5.056761311832815]