Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 196.8 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.969/2.969, allocations: 497.2 MB / 0.7845 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 68.64 kB / 1.139 GB, free: 33.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3146, allocations: 173.9 MB / 1.309 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002413/0.317, allocations: 0.9971 MB / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.3188, allocations: 1.279 MB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.319, allocations: 4 kB / 1.311 GB, free: 13.72 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003953/0.3194, allocations: 111.6 kB / 1.312 GB, free: 13.61 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.3195, allocations: 59.73 kB / 1.312 GB, free: 13.55 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000618/0.3201, allocations: 174.7 kB / 1.312 GB, free: 13.39 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006963/0.3208, allocations: 0.5538 MB / 1.312 GB, free: 12.83 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002611/0.3211, allocations: 116.4 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.3214, allocations: 223.6 kB / 1.313 GB, free: 12.5 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.3218, allocations: 199.3 kB / 1.313 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.3219, allocations: 36 kB / 1.313 GB, free: 12.27 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.322, allocations: 67.97 kB / 1.313 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003333/0.3224, allocations: 239.5 kB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.3227, allocations: 207.1 kB / 1.313 GB, free: 11.76 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007765/0.3234, allocations: 0.6657 MB / 1.314 GB, free: 11.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3234, allocations: 3.938 kB / 1.314 GB, free: 11.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3234, allocations: 0 / 1.314 GB, free: 11.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.3234, allocations: 3.938 kB / 1.314 GB, free: 11.09 MB / 1.014 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.001256/0.3247, allocations: 0.7364 MB / 1.315 GB, free: 10.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.3247, allocations: 8.625 kB / 1.315 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.3249, allocations: 48.7 kB / 1.315 GB, free: 10.24 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007092/0.3256, allocations: 428.6 kB / 1.315 GB, free: 9.785 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.3256, allocations: 28.8 kB / 1.315 GB, free: 9.758 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/0.3257, allocations: 28.38 kB / 1.315 GB, free: 9.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004788/0.3262, allocations: 307.7 kB / 1.316 GB, free: 9.422 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.3262, allocations: 4.172 kB / 1.316 GB, free: 9.418 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.3262, allocations: 7.938 kB / 1.316 GB, free: 9.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.3262, allocations: 4 kB / 1.316 GB, free: 9.406 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/0.3266, allocations: 261.5 kB / 1.316 GB, free: 9.148 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.3282, allocations: 0.9547 MB / 1.317 GB, free: 8.145 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/0.3289, allocations: 366.4 kB / 1.317 GB, free: 7.777 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.3291, allocations: 128.8 kB / 1.317 GB, free: 7.648 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.3291, allocations: 0 / 1.317 GB, free: 7.648 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003276/0.3294, allocations: 241.7 kB / 1.317 GB, free: 7.402 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 1.442e-06/0.3294, allocations: 0 / 1.317 GB, free: 7.402 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.0007505/0.3302, allocations: 481.2 kB / 1.318 GB, free: 6.926 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.3302, allocations: 59.41 kB / 1.318 GB, free: 6.855 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005264/0.3307, allocations: 473.6 kB / 1.318 GB, free: 6.387 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.807e-05/0.3308, allocations: 33.7 kB / 1.318 GB, free: 6.348 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.331, allocations: 189 kB / 1.319 GB, free: 6.16 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.331, allocations: 67.48 kB / 1.319 GB, free: 6.094 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.3312, allocations: 109.6 kB / 1.319 GB, free: 5.98 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3314, allocations: 350.8 kB / 1.319 GB, free: 5.629 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.3315, allocations: 99.89 kB / 1.319 GB, free: 5.531 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004996/0.332, allocations: 412.4 kB / 1.32 GB, free: 5.043 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.3323, allocations: 247.4 kB / 1.32 GB, free: 4.781 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3323, allocations: 0 / 1.32 GB, free: 4.781 MB / 1.014 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004836/0.3328, allocations: 317.2 kB / 1.32 GB, free: 4.465 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3328, allocations: 5.094 kB / 1.32 GB, free: 4.461 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3328, allocations: 0 / 1.32 GB, free: 4.461 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3328, allocations: 4 kB / 1.32 GB, free: 4.457 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.333, allocations: 31.92 kB / 1.32 GB, free: 4.426 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.333, allocations: 0 / 1.32 GB, free: 4.426 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006923/0.3337, allocations: 78.38 kB / 1.32 GB, free: 4.352 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.3337, allocations: 8 kB / 1.32 GB, free: 4.344 MB / 1.014 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.000241/0.3339, allocations: 225.6 kB / 1.321 GB, free: 4.113 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.334, allocations: 31.77 kB / 1.321 GB, free: 4.082 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005436/0.3345, allocations: 390.9 kB / 1.321 GB, free: 3.699 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3345, allocations: 3.984 kB / 1.321 GB, free: 3.695 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3345, allocations: 8 kB / 1.321 GB, free: 3.688 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3345, allocations: 0 / 1.321 GB, free: 3.688 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.3349, allocations: 377.3 kB / 1.321 GB, free: 3.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3349, allocations: 0 / 1.321 GB, free: 3.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.059e-05/0.335, allocations: 23.97 kB / 1.321 GB, free: 3.246 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.335, allocations: 4 kB / 1.321 GB, free: 3.242 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.335, allocations: 4 kB / 1.321 GB, free: 3.238 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.335, allocations: 7.984 kB / 1.321 GB, free: 3.23 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.335, allocations: 0 / 1.321 GB, free: 3.23 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005101/0.3355, allocations: 402.5 kB / 1.322 GB, free: 2.82 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.3357, allocations: 116.9 kB / 1.322 GB, free: 2.688 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.3357, allocations: 3.938 kB / 1.322 GB, free: 2.684 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3358, allocations: 11.98 kB / 1.322 GB, free: 2.672 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.3359, allocations: 23.98 kB / 1.322 GB, free: 2.648 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.3359, allocations: 4 kB / 1.322 GB, free: 2.645 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003731/0.3363, allocations: 343.1 kB / 1.322 GB, free: 2.309 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3363, allocations: 0 / 1.322 GB, free: 2.309 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003322/0.3366, allocations: 79.83 kB / 1.322 GB, free: 2.23 MB / 1.014 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.000167/0.3368, allocations: 119.2 kB / 1.322 GB, free: 2.105 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004354/0.3372, allocations: 260.9 kB / 1.323 GB, free: 1.852 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3372, allocations: 4 kB / 1.323 GB, free: 1.848 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.3374, allocations: 133.9 kB / 1.323 GB, free: 1.719 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.3376, allocations: 41.19 kB / 1.323 GB, free: 1.68 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.3387, allocations: 0.7158 MB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/0.3391, allocations: 0.8224 MB / 1.324 GB, free: 84 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.3393, allocations: 78.25 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.289e-05/0.3394, allocations: 27.42 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of SimCode: time 3.5e-07/0.3394, allocations: 4 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of Templates: time 0.009218/0.3486, allocations: 5.014 MB / 1.329 GB, free: 11 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.095006472896785]