Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller.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.001366/0.001366, allocations: 109.1 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.001455/0.001455, allocations: 213.2 kB / 23 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.129/3.129, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u1EquValPum.y.1.|u1EquValPum.y.2.|ctlFloMinVal.VPriSet_flow|VPri_flow.y|ctlFloMinPum.VPriSet_flow|VPri_flow1.y|ctlFloMinVal.y|ctlFloMinPum.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller") translateModel(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u1EquValPum.y.1.|u1EquValPum.y.2.|ctlFloMinVal.VPriSet_flow|VPri_flow.y|ctlFloMinPum.VPriSet_flow|VPri_flow1.y|ctlFloMinVal.y|ctlFloMinPum.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller") [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.00201/0.00201, allocations: 65.92 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3108, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller): time 0.00573/0.3165, allocations: 3.682 MB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003208/0.3197, allocations: 1.909 MB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003572/0.3201, allocations: 35.75 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007579/0.3208, allocations: 325.7 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000461/0.3213, allocations: 206.6 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.3224, allocations: 0.5692 MB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001819/0.3242, allocations: 1.738 MB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.3252, allocations: 0.6412 MB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008122/0.3261, allocations: 0.6543 MB / 1.337 GB, free: 7.176 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006984/0.3268, allocations: 0.6261 MB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000257/0.327, allocations: 188 kB / 1.337 GB, free: 6.363 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000348/0.3274, allocations: 224 kB / 1.338 GB, free: 6.145 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005443/0.3279, allocations: 0.526 MB / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005713/0.3285, allocations: 0.5714 MB / 1.339 GB, free: 5.043 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.3308, allocations: 2.479 MB / 1.341 GB, free: 2.555 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3308, allocations: 0 / 1.341 GB, free: 2.555 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3308, allocations: 4 kB / 1.341 GB, free: 2.551 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.3308, allocations: 0 / 1.341 GB, free: 2.551 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.003169/0.334, allocations: 1.822 MB / 1.343 GB, free: 0.6836 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.334, allocations: 12.03 kB / 1.343 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004109/0.3344, allocations: 168 kB / 1.343 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.3362, allocations: 0.9358 MB / 1.344 GB, free: 15.54 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.643e-05/0.3363, allocations: 90.42 kB / 1.344 GB, free: 15.45 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/0.3365, allocations: 108.4 kB / 1.344 GB, free: 15.34 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.3387, allocations: 1.283 MB / 1.345 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.3387, allocations: 4 kB / 1.345 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.743e-05/0.3388, allocations: 43.98 kB / 1.345 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/0.3388, allocations: 28 kB / 1.345 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.3408, allocations: 0.9916 MB / 1.346 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005456/0.3462, allocations: 3.123 MB / 1.349 GB, free: 9.738 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.3481, allocations: 1.019 MB / 1.35 GB, free: 8.719 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007199/0.3488, allocations: 423.4 kB / 1.351 GB, free: 8.301 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/0.3489, allocations: 4.656 kB / 1.351 GB, free: 8.297 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000897/0.3498, allocations: 0.4962 MB / 1.351 GB, free: 7.789 MB / 1.045 GB Notification: Performance of pre-optimization done (n=72): time 2.885e-06/0.3498, allocations: 4 kB / 1.351 GB, free: 7.785 MB / 1.045 GB Notification: Performance of matching and sorting (n=72): time 0.002211/0.352, allocations: 1.185 MB / 1.353 GB, free: 6.594 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/0.3521, allocations: 115.5 kB / 1.353 GB, free: 6.457 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.3533, allocations: 0.8992 MB / 1.354 GB, free: 5.543 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-05/0.3534, allocations: 45.7 kB / 1.354 GB, free: 5.492 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005119/0.3539, allocations: 0.5439 MB / 1.354 GB, free: 4.941 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.3541, allocations: 230 kB / 1.354 GB, free: 4.715 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003311/0.3544, allocations: 210.2 kB / 1.355 GB, free: 4.504 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3546, allocations: 333.9 kB / 1.355 GB, free: 4.172 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005781/0.3551, allocations: 319.3 kB / 1.355 GB, free: 3.855 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.3565, allocations: 1.345 MB / 1.356 GB, free: 2.242 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.3577, allocations: 0.688 MB / 1.357 GB, free: 1.527 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.3577, allocations: 4 kB / 1.357 GB, free: 1.523 MB / 1.045 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001524/0.3592, allocations: 0.8519 MB / 1.358 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3592, allocations: 4 kB / 1.358 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3593, allocations: 7.984 kB / 1.358 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3593, allocations: 8.188 kB / 1.358 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/0.3598, allocations: 123.8 kB / 1.358 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.3598, allocations: 4 kB / 1.358 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009636/0.3608, allocations: 123.5 kB / 1.358 GB, free: 408 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/0.3608, allocations: 28 kB / 1.358 GB, free: 380 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009528/0.3618, allocations: 0.6066 MB / 1.359 GB, free: 15.76 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00126/0.363, allocations: 1.314 MB / 1.36 GB, free: 14.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000969/0.364, allocations: 0.6338 MB / 1.361 GB, free: 13.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.315e-06/0.364, allocations: 0 / 1.361 GB, free: 13.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.001365/0.3654, allocations: 0.8051 MB / 1.362 GB, free: 12.71 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.3654, allocations: 8 kB / 1.362 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.3654, allocations: 0 / 1.362 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.3654, allocations: 8 kB / 1.362 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.3659, allocations: 115.8 kB / 1.362 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3659, allocations: 7.938 kB / 1.362 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.3673, allocations: 144.3 kB / 1.362 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.3673, allocations: 27.98 kB / 1.362 GB, free: 12.4 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,ctlFloMinPum.any.uTemp[2],u1EquValPum.intTimTab.idx,$PRE.u1EquValPum.intTimTab.idx,u1EquValPum.intTimTab.y[2],$PRE.u1EquValPum.intTimTab.y[2],u1EquValPum.intTimTab.y[1],$PRE.u1EquValPum.intTimTab.y[1],u1EquValPum.y[2],ctlFloMinVal.any.uTemp[2],ctlFloMinVal.any.y,ctlFloMinVal.any.u[1],ctlFloMinVal.u1ValInlIso[1],ctlFloMinPum.any.y,ctlFloMinPum.any.u[3],$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0002657/0.3676, allocations: 238.5 kB / 1.362 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.3677, allocations: 91.39 kB / 1.362 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.3694, allocations: 0.9123 MB / 1.363 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.3694, allocations: 3.984 kB / 1.363 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3694, allocations: 7.938 kB / 1.363 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.3696, allocations: 99.3 kB / 1.363 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.752e-05/0.3697, allocations: 15.94 kB / 1.363 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.37, allocations: 43.95 kB / 1.363 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.3701, allocations: 52.56 kB / 1.363 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001723/0.3718, allocations: 0.9461 MB / 1.364 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002383/0.3742, allocations: 1.567 MB / 1.366 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006201/0.3748, allocations: 381 kB / 1.366 GB, free: 8.023 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008547/0.3757, allocations: 0.6199 MB / 1.367 GB, free: 7.41 MB / 1.061 GB Notification: Performance of Backend: time 3.1e-07/0.3757, allocations: 0 / 1.367 GB, free: 7.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001993/0.3777, allocations: 0.8803 MB / 1.368 GB, free: 6.523 MB / 1.061 GB Notification: Performance of SimCode: time 0.003428/0.3811, allocations: 2.311 MB / 1.37 GB, free: 4.16 MB / 1.061 GB Notification: Performance of Templates: time 0.02968/0.4108, allocations: 17.69 MB / 1.387 GB, free: 2.691 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller.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.834639593995234]