Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 114.5 kB / 16.81 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 199.2 kB / 17.77 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.949/2.949, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 59.92 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4223, allocations: 168.7 MB / 1.262 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.0207/0.443, allocations: 15.49 MB / 1.277 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009363/0.4524, allocations: 4.692 MB / 1.282 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.4534, allocations: 19.88 kB / 1.282 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009013/0.4543, allocations: 198.6 kB / 1.282 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.4566, allocations: 0.588 MB / 1.283 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.4587, allocations: 0.5853 MB / 1.283 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001853/0.4606, allocations: 0.9665 MB / 1.284 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005792/0.4611, allocations: 279.7 kB / 1.284 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009755/0.4621, allocations: 426.3 kB / 1.285 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005331/0.4626, allocations: 318.6 kB / 1.285 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.459e-05/0.4627, allocations: 24 kB / 1.285 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007151/0.4634, allocations: 219.6 kB / 1.285 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.4636, allocations: 87.55 kB / 1.285 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.4639, allocations: 198.8 kB / 1.286 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009987/0.4649, allocations: 0.5135 MB / 1.286 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4649, allocations: 0 / 1.286 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4649, allocations: 0 / 1.286 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.4649, allocations: 0 / 1.286 GB, free: 4.238 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001429/0.4663, allocations: 0.7432 MB / 1.287 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.539e-05/0.4664, allocations: 12.03 kB / 1.287 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.4665, allocations: 52.61 kB / 1.287 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008328/0.4673, allocations: 418.3 kB / 1.287 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.4674, allocations: 28.56 kB / 1.287 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.779e-05/0.4674, allocations: 24 kB / 1.287 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.4678, allocations: 191.3 kB / 1.287 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.4679, allocations: 0 / 1.287 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.4679, allocations: 11.98 kB / 1.287 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.4679, allocations: 4 kB / 1.287 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.4682, allocations: 133.7 kB / 1.288 GB, free: 2.547 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.4701, allocations: 0.8799 MB / 1.288 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005917/0.4707, allocations: 118.5 kB / 1.289 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.448e-05/0.4708, allocations: 44.83 kB / 1.289 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004456/0.4712, allocations: 336.4 kB / 1.289 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.4713, allocations: 38.56 kB / 1.289 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 2.475e-06/0.4713, allocations: 0 / 1.289 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0005708/0.4718, allocations: 181.2 kB / 1.289 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.4719, allocations: 55.41 kB / 1.289 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006914/0.4726, allocations: 453.9 kB / 1.29 GB, free: 280 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.4726, allocations: 33.7 kB / 1.29 GB, free: 240 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.4729, allocations: 220.4 kB / 1.29 GB, free: 16 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.374e-05/0.4729, allocations: 35.77 kB / 1.29 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.473, allocations: 57.66 kB / 1.29 GB, free: 15.91 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.4732, allocations: 350.8 kB / 1.29 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.4733, allocations: 51.97 kB / 1.29 GB, free: 15.51 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.4735, allocations: 108.4 kB / 1.29 GB, free: 15.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.4737, allocations: 123.3 kB / 1.291 GB, free: 15.26 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.4738, allocations: 7.938 kB / 1.291 GB, free: 15.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004168/0.4742, allocations: 229.2 kB / 1.291 GB, free: 15.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.4742, allocations: 8 kB / 1.291 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.4742, allocations: 0 / 1.291 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.4742, allocations: 96 / 1.291 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.4745, allocations: 47.97 kB / 1.291 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.4745, allocations: 0 / 1.291 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.4748, allocations: 43.75 kB / 1.291 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.4748, allocations: 7.938 kB / 1.291 GB, free: 14.91 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.000209/0.4751, allocations: 157.8 kB / 1.291 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.67e-05/0.4751, allocations: 43.72 kB / 1.291 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000407/0.4755, allocations: 195.9 kB / 1.291 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.4756, allocations: 3.984 kB / 1.291 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.4756, allocations: 0 / 1.291 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.4757, allocations: 124.8 kB / 1.291 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/0.4758, allocations: 0 / 1.291 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.476, allocations: 19.98 kB / 1.291 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.476, allocations: 11.92 kB / 1.291 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003815/0.4764, allocations: 232.7 kB / 1.292 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004153/0.4768, allocations: 349 kB / 1.292 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001081/0.4769, allocations: 50.97 kB / 1.292 GB, free: 13.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004654/0.4774, allocations: 323.1 kB / 1.292 GB, free: 13.39 MB / 1.014 GB Notification: Performance of Backend: time 4.31e-07/0.4774, allocations: 4 kB / 1.292 GB, free: 13.38 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.4786, allocations: 266.5 kB / 1.293 GB, free: 13.12 MB / 1.014 GB Notification: Performance of SimCode: time 0.002121/0.4807, allocations: 1.192 MB / 1.294 GB, free: 11.88 MB / 1.014 GB Notification: Performance of Templates: time 0.01545/0.4962, allocations: 7.121 MB / 1.301 GB, free: 4.871 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile (rm -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches