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.001631/0.001631, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001922/0.001922, allocations: 214 kB / 22.25 MB, free: 4.855 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.797 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 3.59/3.59, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] 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.002119/0.002119, allocations: 74.95 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3712, allocations: 176.1 MB / 1.326 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002946/0.3742, allocations: 0.9601 MB / 1.326 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002392/0.3766, allocations: 1.276 MB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.3767, allocations: 3.938 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005169/0.3773, allocations: 111.6 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.3774, allocations: 59.73 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007656/0.3782, allocations: 175.6 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007824/0.379, allocations: 0.55 MB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.3793, allocations: 116.2 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004371/0.3797, allocations: 231.5 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004595/0.3802, allocations: 203.4 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.3803, allocations: 36 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.3806, allocations: 75.97 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003906/0.381, allocations: 235.5 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003569/0.3813, allocations: 171.2 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009768/0.3823, allocations: 0.6696 MB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3823, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.073e-06/0.3823, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.212e-05/0.3824, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 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.001744/0.3841, allocations: 0.6689 MB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3841, allocations: 11.97 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.3843, allocations: 44.7 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008764/0.3852, allocations: 374.7 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.741e-05/0.3852, allocations: 24.81 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.992e-05/0.3853, allocations: 28.38 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006453/0.386, allocations: 307.7 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.386, allocations: 192 / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.386, allocations: 7.938 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.386, allocations: 12 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.3865, allocations: 257.6 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.3883, allocations: 0.7711 MB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007419/0.3891, allocations: 364.8 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.3893, allocations: 136.8 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.3893, allocations: 4 kB / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003962/0.3897, allocations: 232.6 kB / 1.333 GB, free: 9.715 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 2.094e-06/0.3897, allocations: 0 / 1.333 GB, free: 9.715 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0008772/0.3906, allocations: 479.4 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.3907, allocations: 59.39 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005606/0.3912, allocations: 416.5 kB / 1.334 GB, free: 8.754 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-05/0.3913, allocations: 33.7 kB / 1.334 GB, free: 8.715 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.3915, allocations: 188.8 kB / 1.334 GB, free: 8.527 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.935e-05/0.3916, allocations: 67.48 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.3918, allocations: 109.6 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.3919, allocations: 346.8 kB / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.3921, allocations: 99.98 kB / 1.335 GB, free: 7.902 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009476/0.3931, allocations: 0.9725 MB / 1.336 GB, free: 6.707 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.3934, allocations: 231.9 kB / 1.336 GB, free: 6.461 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3934, allocations: 0 / 1.336 GB, free: 6.461 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000556/0.394, allocations: 315 kB / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.394, allocations: 9.25 kB / 1.337 GB, free: 6.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.394, allocations: 4 kB / 1.337 GB, free: 6.137 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.394, allocations: 4 kB / 1.337 GB, free: 6.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.3942, allocations: 31.91 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.3942, allocations: 4 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007256/0.3949, allocations: 63.88 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.395, allocations: 4.094 kB / 1.337 GB, free: 6.031 MB / 1.029 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.000289/0.3953, allocations: 238.1 kB / 1.337 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.3953, allocations: 27.81 kB / 1.337 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006158/0.3959, allocations: 383.9 kB / 1.337 GB, free: 5.379 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.3959, allocations: 11.92 kB / 1.337 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3959, allocations: 0 / 1.337 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3959, allocations: 0 / 1.337 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.3963, allocations: 269.1 kB / 1.338 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3963, allocations: 3.984 kB / 1.338 GB, free: 5.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.3964, allocations: 16 kB / 1.338 GB, free: 5.055 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.3964, allocations: 8 kB / 1.338 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.3964, allocations: 7.984 kB / 1.338 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3965, allocations: 0 / 1.338 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3965, allocations: 4 kB / 1.338 GB, free: 5.035 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005822/0.397, allocations: 390.1 kB / 1.338 GB, free: 4.637 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.972e-05/0.3971, allocations: 39.73 kB / 1.338 GB, free: 4.598 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.3972, allocations: 4 kB / 1.338 GB, free: 4.594 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.3973, allocations: 7.984 kB / 1.338 GB, free: 4.586 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.3974, allocations: 15.98 kB / 1.338 GB, free: 4.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.3974, allocations: 11.98 kB / 1.338 GB, free: 4.559 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003772/0.3978, allocations: 307 kB / 1.338 GB, free: 4.262 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3978, allocations: 0 / 1.338 GB, free: 4.262 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003935/0.3981, allocations: 79.83 kB / 1.338 GB, free: 4.184 MB / 1.029 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.000211/0.3984, allocations: 115.9 kB / 1.339 GB, free: 4.062 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005167/0.3989, allocations: 261.4 kB / 1.339 GB, free: 3.809 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3989, allocations: 4 kB / 1.339 GB, free: 3.805 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.3991, allocations: 132.2 kB / 1.339 GB, free: 3.676 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.3994, allocations: 36.59 kB / 1.339 GB, free: 3.637 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.4007, allocations: 0.7 MB / 1.34 GB, free: 2.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.401, allocations: 215.5 kB / 1.34 GB, free: 2.676 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002338/0.4013, allocations: 74.25 kB / 1.34 GB, free: 2.605 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.343e-05/0.4014, allocations: 31.42 kB / 1.34 GB, free: 2.578 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4014, allocations: 0 / 1.34 GB, free: 2.578 MB / 1.029 GB Notification: Performance of Templates: time 0.01145/0.4128, allocations: 5.31 MB / 1.345 GB, free: 13.35 MB / 1.045 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=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/jenkins/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: 9.809078428894281]