Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 105.2 kB / 18.05 MB, free: 4.32 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 186 kB / 21.17 MB, free: 1.211 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 249.7 MB, free: 3.254 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.805/2.805, allocations: 489.7 MB / 0.7759 GB, free: 2.484 MB / 0.6075 GB [Timeout remaining time 87] 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.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=506,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_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller") translateModel(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=506,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_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002818/0.002818, allocations: 63.89 kB / 1.126 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8884/0.8912, allocations: 172 MB / 1.294 GB, free: 38.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller): time 0.004203/0.8954, allocations: 4.127 MB / 1.298 GB, free: 35.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.8976, allocations: 1.914 MB / 1.3 GB, free: 34.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003252/0.898, allocations: 27.09 kB / 1.3 GB, free: 34.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005989/0.8986, allocations: 324.8 kB / 1.301 GB, free: 34.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.8989, allocations: 204.2 kB / 1.301 GB, free: 33.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008891/0.8998, allocations: 0.5964 MB / 1.301 GB, free: 33.49 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001155/0.9009, allocations: 1.754 MB / 1.303 GB, free: 32.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008093/0.9017, allocations: 0.7379 MB / 1.304 GB, free: 32.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005296/0.9023, allocations: 0.6284 MB / 1.305 GB, free: 31.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004988/0.9028, allocations: 0.6292 MB / 1.305 GB, free: 31.51 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.903, allocations: 188.3 kB / 1.305 GB, free: 31.51 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.9032, allocations: 213.1 kB / 1.306 GB, free: 31.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.9036, allocations: 0.5303 MB / 1.306 GB, free: 31.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.904, allocations: 0.7243 MB / 1.307 GB, free: 30.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.9055, allocations: 2.461 MB / 1.309 GB, free: 29.74 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9055, allocations: 0 / 1.309 GB, free: 29.74 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9055, allocations: 0 / 1.309 GB, free: 29.74 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.9055, allocations: 0 / 1.309 GB, free: 29.74 MB / 1.061 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.002132/0.9076, allocations: 1.716 MB / 1.311 GB, free: 28.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.9077, allocations: 8.219 kB / 1.311 GB, free: 28.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/0.9079, allocations: 158.1 kB / 1.311 GB, free: 28.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.9091, allocations: 0.9992 MB / 1.312 GB, free: 27.92 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.877e-05/0.9091, allocations: 91.67 kB / 1.312 GB, free: 27.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.9093, allocations: 113.1 kB / 1.312 GB, free: 27.85 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.9109, allocations: 1.236 MB / 1.313 GB, free: 27.31 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.9109, allocations: 0 / 1.313 GB, free: 27.31 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.512e-05/0.911, allocations: 44.75 kB / 1.313 GB, free: 27.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.911, allocations: 26.59 kB / 1.313 GB, free: 27.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.9124, allocations: 0.9837 MB / 1.314 GB, free: 26.91 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004206/0.9166, allocations: 3.76 MB / 1.318 GB, free: 24.92 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.9181, allocations: 1.241 MB / 1.319 GB, free: 24.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/0.9186, allocations: 430.2 kB / 1.32 GB, free: 24.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.863e-05/0.9187, allocations: 11.89 kB / 1.32 GB, free: 24.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000737/0.9194, allocations: 0.491 MB / 1.32 GB, free: 23.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=72): time 2.815e-06/0.9194, allocations: 2.625 kB / 1.32 GB, free: 23.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=72): time 0.002082/0.9215, allocations: 1.199 MB / 1.321 GB, free: 23.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.9216, allocations: 117.8 kB / 1.321 GB, free: 23.27 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.923, allocations: 1.092 MB / 1.323 GB, free: 22.83 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.9231, allocations: 46.42 kB / 1.323 GB, free: 22.79 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.9235, allocations: 0.5266 MB / 1.323 GB, free: 22.38 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.9236, allocations: 232.4 kB / 1.323 GB, free: 22.19 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.9239, allocations: 196.3 kB / 1.323 GB, free: 22.12 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.023e-05/0.9239, allocations: 335.2 kB / 1.324 GB, free: 21.8 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/0.9244, allocations: 320.2 kB / 1.324 GB, free: 21.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009546/0.9254, allocations: 0.695 MB / 1.325 GB, free: 21.22 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.9264, allocations: 0.6788 MB / 1.325 GB, free: 20.88 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.9264, allocations: 0.9062 kB / 1.325 GB, free: 20.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001433/0.9279, allocations: 0.8706 MB / 1.326 GB, free: 20.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.9279, allocations: 10 kB / 1.326 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.9279, allocations: 2.5 kB / 1.326 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.9279, allocations: 8.297 kB / 1.326 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005084/0.9284, allocations: 119.6 kB / 1.326 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.9284, allocations: 9.203 kB / 1.326 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000887/0.9293, allocations: 147 kB / 1.327 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/0.9294, allocations: 24.22 kB / 1.327 GB, free: 20.42 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008121/0.9302, allocations: 0.6034 MB / 1.327 GB, free: 20.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007663/0.931, allocations: 0.659 MB / 1.328 GB, free: 19.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001001/0.932, allocations: 0.6332 MB / 1.328 GB, free: 19.35 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.932, allocations: 0.5625 kB / 1.328 GB, free: 19.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.001427/0.9334, allocations: 0.8183 MB / 1.329 GB, free: 19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.9334, allocations: 5.906 kB / 1.329 GB, free: 19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.9334, allocations: 3.469 kB / 1.329 GB, free: 19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.234e-06/0.9334, allocations: 8.062 kB / 1.329 GB, free: 19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.9338, allocations: 114.1 kB / 1.329 GB, free: 18.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.9338, allocations: 5.125 kB / 1.329 GB, free: 18.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.935, allocations: 151 kB / 1.33 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.9351, allocations: 20.41 kB / 1.33 GB, free: 18.93 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.00019/0.9353, allocations: 245.1 kB / 1.33 GB, free: 18.7 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.9354, allocations: 105.3 kB / 1.33 GB, free: 18.64 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.9369, allocations: 0.9288 MB / 1.331 GB, free: 18.26 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.9369, allocations: 3.281 kB / 1.331 GB, free: 18.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.9369, allocations: 0 / 1.331 GB, free: 18.26 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.9371, allocations: 206.5 kB / 1.331 GB, free: 18.08 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.9372, allocations: 18.48 kB / 1.331 GB, free: 18.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.9375, allocations: 35.14 kB / 1.331 GB, free: 18.06 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.9376, allocations: 49.67 kB / 1.331 GB, free: 18.05 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001536/0.9391, allocations: 0.9452 MB / 1.332 GB, free: 17.64 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002089/0.9412, allocations: 1.586 MB / 1.334 GB, free: 16.86 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005658/0.9418, allocations: 381.4 kB / 1.334 GB, free: 16.72 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009838/0.9428, allocations: 0.7587 MB / 1.335 GB, free: 16.4 MB / 1.061 GB Notification: Performance of Backend: time 4.31e-07/0.9428, allocations: 0 / 1.335 GB, free: 16.4 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.9446, allocations: 0.8708 MB / 1.336 GB, free: 16.07 MB / 1.061 GB Notification: Performance of SimCode: time 0.003009/0.9476, allocations: 2.364 MB / 1.338 GB, free: 14.6 MB / 1.061 GB Notification: Performance of Templates: time 0.03187/0.9795, allocations: 16.41 MB / 1.354 GB, free: 13.38 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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