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.001857/0.001857, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002398/0.002398, allocations: 217.3 kB / 23.01 MB, free: 4.969 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.181/3.181, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 177] 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.001953/0.001953, allocations: 70.39 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3115, allocations: 176.1 MB / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002807/0.3144, allocations: 0.9534 MB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002231/0.3166, allocations: 1.276 MB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.3167, allocations: 7.938 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004749/0.3172, allocations: 107.6 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.3173, allocations: 59.73 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006176/0.3179, allocations: 174.7 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006377/0.3186, allocations: 0.55 MB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.3188, allocations: 112.2 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.3191, allocations: 235.6 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.3193, allocations: 199.4 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.62e-05/0.3194, allocations: 36 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.3196, allocations: 79.95 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002984/0.3199, allocations: 235.5 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.3201, allocations: 171.2 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007532/0.3209, allocations: 0.6696 MB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3209, allocations: 3.938 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3209, allocations: 0 / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.3209, allocations: 4 kB / 1.332 GB, free: 12.2 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.001331/0.3222, allocations: 0.6612 MB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3223, allocations: 8.031 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.3224, allocations: 40.7 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007351/0.3231, allocations: 378.7 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.3232, allocations: 24.81 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.69e-05/0.3233, allocations: 28.38 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005409/0.3238, allocations: 311.7 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3238, allocations: 4.188 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.3239, allocations: 11.94 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.3239, allocations: 4 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.3243, allocations: 265.5 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.3259, allocations: 0.7672 MB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.3266, allocations: 362.4 kB / 1.335 GB, free: 9.254 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.3268, allocations: 132.8 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.3268, allocations: 0 / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003575/0.3271, allocations: 236.2 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 4.117e-06/0.3272, allocations: 4.094 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0008015/0.328, allocations: 487 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.328, allocations: 59.41 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/0.3285, allocations: 408.5 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.635e-05/0.3285, allocations: 41.7 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.3287, allocations: 188.8 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.415e-05/0.3288, allocations: 63.55 kB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.329, allocations: 109.6 kB / 1.336 GB, free: 7.504 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002961/0.3293, allocations: 346.8 kB / 1.337 GB, free: 7.156 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.3294, allocations: 107.8 kB / 1.337 GB, free: 7.051 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008672/0.3303, allocations: 0.9553 MB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.3306, allocations: 231.2 kB / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3306, allocations: 0 / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004994/0.3311, allocations: 318.7 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3311, allocations: 4 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3311, allocations: 4 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3312, allocations: 0 / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.3313, allocations: 35.92 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.3313, allocations: 4 kB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007793/0.3321, allocations: 64.05 kB / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.3321, allocations: 12 kB / 1.338 GB, free: 5.188 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.0002501/0.3324, allocations: 228.5 kB / 1.338 GB, free: 4.957 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.3324, allocations: 27.81 kB / 1.338 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005979/0.333, allocations: 389.7 kB / 1.339 GB, free: 4.543 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.333, allocations: 0 / 1.339 GB, free: 4.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.333, allocations: 0 / 1.339 GB, free: 4.543 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.3331, allocations: 35.83 kB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.3331, allocations: 8 kB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.3333, allocations: 15.92 kB / 1.339 GB, free: 4.484 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.3333, allocations: 19.91 kB / 1.339 GB, free: 4.465 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005844/0.3339, allocations: 432.7 kB / 1.339 GB, free: 4.035 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006047/0.3345, allocations: 0.5274 MB / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001864/0.3347, allocations: 129.7 kB / 1.34 GB, free: 3.367 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003477/0.335, allocations: 307 kB / 1.34 GB, free: 3.07 MB / 1.029 GB Notification: Performance of Backend: time 5.01e-07/0.3351, allocations: 0 / 1.34 GB, free: 3.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006702/0.3357, allocations: 226.4 kB / 1.34 GB, free: 2.844 MB / 1.029 GB Notification: Performance of SimCode: time 0.001236/0.337, allocations: 1.035 MB / 1.341 GB, free: 1.754 MB / 1.029 GB Notification: Performance of Templates: time 0.01103/0.348, allocations: 5.899 MB / 1.347 GB, free: 11.94 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/jenkins1/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: 8.845812644001853]