Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) 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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_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_latest_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.001593/0.001593, allocations: 116.2 kB / 16.42 MB, free: 6.496 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.001763/0.001763, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.4/1.4, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 472.7 MB / 0.746 GB, free: 472 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 59.91 kB / 1.07 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9884/0.9898, allocations: 159.9 MB / 1.226 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01783/1.008, allocations: 15.4 MB / 1.241 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007173/1.015, allocations: 4.674 MB / 1.246 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007471/1.016, allocations: 15.88 kB / 1.246 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000698/1.016, allocations: 190.6 kB / 1.246 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/1.018, allocations: 0.5907 MB / 1.247 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00164/1.02, allocations: 0.5744 MB / 1.247 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001339/1.021, allocations: 0.9703 MB / 1.248 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004835/1.022, allocations: 319.8 kB / 1.249 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007335/1.022, allocations: 426.2 kB / 1.249 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004225/1.023, allocations: 306.6 kB / 1.249 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/1.023, allocations: 24 kB / 1.249 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005685/1.023, allocations: 215.6 kB / 1.249 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/1.024, allocations: 83.61 kB / 1.25 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002138/1.024, allocations: 198.8 kB / 1.25 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000746/1.025, allocations: 0.5144 MB / 1.25 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.025, allocations: 0 / 1.25 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.954e-06/1.025, allocations: 4 kB / 1.25 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.687e-06/1.025, allocations: 0 / 1.25 GB, free: 5.098 MB / 0.9669 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.001181/1.026, allocations: 0.7509 MB / 1.251 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.026, allocations: 8.031 kB / 1.251 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.5e-05/1.026, allocations: 52.61 kB / 1.251 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006523/1.027, allocations: 402.4 kB / 1.251 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/1.027, allocations: 28.56 kB / 1.251 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/1.027, allocations: 28 kB / 1.251 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/1.027, allocations: 191.3 kB / 1.252 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/1.027, allocations: 0 / 1.252 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/1.027, allocations: 12 kB / 1.252 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/1.027, allocations: 4 kB / 1.252 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/1.027, allocations: 137.6 kB / 1.252 GB, free: 3.406 MB / 0.9669 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.00143/1.029, allocations: 0.8793 MB / 1.253 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/1.029, allocations: 114.6 kB / 1.253 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.154e-05/1.029, allocations: 48.84 kB / 1.253 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/1.03, allocations: 332.4 kB / 1.253 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/1.03, allocations: 38.56 kB / 1.253 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/1.03, allocations: 3.938 kB / 1.253 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0003576/1.03, allocations: 173.3 kB / 1.253 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/1.03, allocations: 55.41 kB / 1.253 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/1.031, allocations: 453.9 kB / 1.254 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/1.031, allocations: 29.7 kB / 1.254 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/1.031, allocations: 220.4 kB / 1.254 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/1.031, allocations: 39.67 kB / 1.254 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.279e-05/1.031, allocations: 53.66 kB / 1.254 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.031, allocations: 354.8 kB / 1.254 GB, free: 440 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/1.031, allocations: 47.98 kB / 1.255 GB, free: 392 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/1.031, allocations: 113 kB / 1.255 GB, free: 260 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/1.032, allocations: 139.2 kB / 1.255 GB, free: 108 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.032, allocations: 3.938 kB / 1.255 GB, free: 104 kB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003459/1.032, allocations: 217.5 kB / 1.255 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/1.032, allocations: 4 kB / 1.255 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.032, allocations: 4 kB / 1.255 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.032, allocations: 4 kB / 1.255 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/1.032, allocations: 43.92 kB / 1.255 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/1.032, allocations: 7.984 kB / 1.255 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/1.032, allocations: 35.77 kB / 1.255 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/1.033, allocations: 8 kB / 1.255 GB, free: 15.77 MB / 0.9825 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.000158/1.033, allocations: 162.8 kB / 1.255 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/1.033, allocations: 43.72 kB / 1.255 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/1.033, allocations: 196.5 kB / 1.255 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/1.033, allocations: 0 / 1.255 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/1.033, allocations: 192 / 1.255 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/1.033, allocations: 132.8 kB / 1.256 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/1.033, allocations: 7.922 kB / 1.256 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/1.034, allocations: 8 kB / 1.256 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/1.034, allocations: 15.92 kB / 1.256 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002995/1.034, allocations: 232.8 kB / 1.256 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003041/1.034, allocations: 356.8 kB / 1.256 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.692e-05/1.034, allocations: 47.97 kB / 1.256 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003642/1.035, allocations: 327.1 kB / 1.257 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of Backend: time 6.21e-07/1.035, allocations: 0 / 1.257 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008885/1.036, allocations: 285.3 kB / 1.257 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of SimCode: time 0.001572/1.037, allocations: 1.174 MB / 1.258 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of Templates: time 0.01287/1.05, allocations: 6.984 MB / 1.265 GB, free: 5.863 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches