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.001109/0.001109, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001519/0.002628, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001073/0.001073, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.002478, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9141/0.9141, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08284/0.9969, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.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.828/1.828, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4684/2.296, allocations: 123.3 MB / 0.728 GB, free: 5.82 MB / 0.698 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 2.635e-06/2.635e-06, allocations: 0 / 0.7293 GB, free: 4.57 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.279e-05, allocations: 2.859 kB / 0.7293 GB, free: 4.566 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002394/0.002416, allocations: 1.027 MB / 0.7303 GB, free: 3.57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.004021, allocations: 1.301 MB / 0.7316 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.803e-05/0.004109, allocations: 9.344 kB / 0.7316 GB, free: 2.25 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.004413, allocations: 116.5 kB / 0.7317 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.004527, allocations: 73.94 kB / 0.7318 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.004996, allocations: 184.7 kB / 0.7319 GB, free: 1.895 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006106/0.005606, allocations: 0.5688 MB / 0.7325 GB, free: 1.336 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.005803, allocations: 129.5 kB / 0.7326 GB, free: 1.211 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000353/0.006156, allocations: 315.6 kB / 0.7329 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.006379, allocations: 151.7 kB / 0.7331 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.996e-05/0.006449, allocations: 36 kB / 0.7331 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.006629, allocations: 72.55 kB / 0.7332 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.006808, allocations: 131.7 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.006946, allocations: 88.5 kB / 0.7334 GB, free: 444 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00048/0.007426, allocations: 410.6 kB / 0.7338 GB, free: 32 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.007439, allocations: 1.781 kB / 0.7338 GB, free: 32 kB / 0.698 GB Notification: Performance of FrontEnd: time 9.62e-07/0.00744, allocations: 0 / 0.7338 GB, free: 32 kB / 0.698 GB Notification: Performance of Transformations before backend: time 2.233e-05/0.007463, allocations: 0 / 0.7338 GB, free: 32 kB / 0.698 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.0009252/0.008388, allocations: 0.6565 MB / 0.7344 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.008417, allocations: 8.031 kB / 0.7344 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.008528, allocations: 50.08 kB / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.008884, allocations: 273.7 kB / 0.7347 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.008915, allocations: 25.38 kB / 0.7347 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.658e-05/0.008982, allocations: 32.38 kB / 0.7348 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.009225, allocations: 169 kB / 0.7349 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.009235, allocations: 192 / 0.7349 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.009256, allocations: 13.19 kB / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.009265, allocations: 4.375 kB / 0.735 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.009384, allocations: 59.34 kB / 0.735 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008485/0.01023, allocations: 0.4941 MB / 0.7355 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.01054, allocations: 190.8 kB / 0.7357 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.876e-05/0.0106, allocations: 33.94 kB / 0.7357 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.01062, allocations: 4 kB / 0.7357 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.01082, allocations: 158.9 kB / 0.7359 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 1.362e-06/0.01082, allocations: 0 / 0.7359 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.0002966/0.01112, allocations: 164 kB / 0.736 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.01116, allocations: 60.36 kB / 0.7361 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.01139, allocations: 267 kB / 0.7363 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.01144, allocations: 38.23 kB / 0.7364 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.01155, allocations: 153.4 kB / 0.7365 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.01159, allocations: 68.16 kB / 0.7366 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.01172, allocations: 85.59 kB / 0.7367 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.01183, allocations: 351.7 kB / 0.737 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/0.01188, allocations: 22.83 kB / 0.737 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.01232, allocations: 0.7919 MB / 0.7378 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.01248, allocations: 129.2 kB / 0.7379 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01248, allocations: 1.219 kB / 0.7379 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002267/0.01271, allocations: 152.3 kB / 0.7381 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.01272, allocations: 11.94 kB / 0.7381 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.01273, allocations: 0 / 0.7381 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.01274, allocations: 4 kB / 0.7381 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.01287, allocations: 35.98 kB / 0.7381 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.01288, allocations: 16.61 kB / 0.7381 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.01319, allocations: 52.64 kB / 0.7382 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.01321, allocations: 8 kB / 0.7382 GB, free: 11.11 MB / 0.7136 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.0001338/0.01334, allocations: 130.4 kB / 0.7383 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.01338, allocations: 25.84 kB / 0.7383 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.01359, allocations: 153.6 kB / 0.7385 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.0136, allocations: 0 / 0.7385 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.0136, allocations: 0 / 0.7385 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.0136, allocations: 4 kB / 0.7385 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.01379, allocations: 162.9 kB / 0.7386 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01379, allocations: 3.938 kB / 0.7386 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.553e-05/0.01386, allocations: 23.98 kB / 0.7387 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.0139, allocations: 32.28 kB / 0.7387 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.0139, allocations: 0.9062 kB / 0.7387 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.01391, allocations: 7.984 kB / 0.7387 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01392, allocations: 3.938 kB / 0.7387 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01392, allocations: 5.953 kB / 0.7387 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.0141, allocations: 164.9 kB / 0.7389 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.01413, allocations: 4 kB / 0.7389 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.488e-05/0.01418, allocations: 11.94 kB / 0.7389 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.01425, allocations: 30.8 kB / 0.7389 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.01426, allocations: 10.75 kB / 0.7389 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001216/0.01438, allocations: 108.6 kB / 0.739 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01438, allocations: 0 / 0.739 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002714/0.01465, allocations: 75.83 kB / 0.7391 GB, free: 10.12 MB / 0.7136 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.0001398/0.01479, allocations: 100.3 kB / 0.7392 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.01499, allocations: 110.4 kB / 0.7393 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.015, allocations: 4 kB / 0.7393 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.311e-05/0.01509, allocations: 71.62 kB / 0.7394 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.01525, allocations: 51.59 kB / 0.7394 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.01631, allocations: 0.5611 MB / 0.74 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.628e-05/0.01639, allocations: 116.1 kB / 0.7401 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001072/0.0165, allocations: 40.7 kB / 0.7401 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.0167, allocations: 108.6 kB / 0.7402 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.0167, allocations: 0 / 0.7402 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of Templates: time 0.009008/0.02571, allocations: 5.712 MB / 0.7458 GB, free: 3.449 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint/Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.ref.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.759001392871141]