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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001505/0.001505, allocations: 118 kB / 16.42 MB, free: 6.473 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.001331/0.001331, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.587/2.587, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 60.03 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9621/0.9636, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01895/0.9826, allocations: 15.38 MB / 1.223 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007408/0.9901, allocations: 4.666 MB / 1.228 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008708/0.991, allocations: 15.88 kB / 1.228 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008419/0.9918, allocations: 190.6 kB / 1.228 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001937/0.9938, allocations: 0.5627 MB / 1.229 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.9957, allocations: 0.5875 MB / 1.229 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001518/0.9972, allocations: 0.9586 MB / 1.23 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006231/0.9978, allocations: 319.5 kB / 1.231 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009403/0.9988, allocations: 418.3 kB / 1.231 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006148/0.9994, allocations: 302.6 kB / 1.231 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.072e-05/0.9995, allocations: 24 kB / 1.231 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007225/1, allocations: 215.6 kB / 1.231 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/1, allocations: 95.59 kB / 1.232 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003311/1.001, allocations: 202.8 kB / 1.232 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/1.002, allocations: 0.508 MB / 1.232 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.002, allocations: 0 / 1.232 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.933e-06/1.002, allocations: 0 / 1.232 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.618e-05/1.002, allocations: 0 / 1.232 GB, free: 5.125 MB / 0.9512 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.001594/1.003, allocations: 0.7241 MB / 1.233 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/1.004, allocations: 15.97 kB / 1.233 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/1.004, allocations: 52.31 kB / 1.233 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009054/1.005, allocations: 413.9 kB / 1.233 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/1.005, allocations: 28.55 kB / 1.233 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/1.005, allocations: 24 kB / 1.233 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/1.005, allocations: 191.3 kB / 1.234 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/1.005, allocations: 0 / 1.234 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/1.005, allocations: 4 kB / 1.234 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/1.005, allocations: 8 kB / 1.234 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002484/1.005, allocations: 129.7 kB / 1.234 GB, free: 3.461 MB / 0.9512 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.001701/1.007, allocations: 0.879 MB / 1.235 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/1.008, allocations: 110.6 kB / 1.235 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.376e-05/1.008, allocations: 56.81 kB / 1.235 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003274/1.008, allocations: 336.4 kB / 1.235 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/1.008, allocations: 34.56 kB / 1.235 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/1.008, allocations: 0 / 1.235 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0004335/1.009, allocations: 181.1 kB / 1.235 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/1.009, allocations: 51.41 kB / 1.235 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005789/1.009, allocations: 461.8 kB / 1.236 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/1.009, allocations: 29.7 kB / 1.236 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/1.009, allocations: 212.3 kB / 1.236 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/1.01, allocations: 43.39 kB / 1.236 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.51e-05/1.01, allocations: 57.61 kB / 1.236 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.01, allocations: 346.8 kB / 1.236 GB, free: 488 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.605e-05/1.01, allocations: 51.97 kB / 1.237 GB, free: 436 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/1.01, allocations: 103.3 kB / 1.237 GB, free: 316 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/1.01, allocations: 139.3 kB / 1.237 GB, free: 164 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.01, allocations: 3.938 kB / 1.237 GB, free: 160 kB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003769/1.011, allocations: 217 kB / 1.237 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.011, allocations: 11.98 kB / 1.237 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.011, allocations: 0 / 1.237 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/1.011, allocations: 0 / 1.237 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/1.011, allocations: 39.98 kB / 1.237 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/1.011, allocations: 4 kB / 1.237 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/1.011, allocations: 39.66 kB / 1.237 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/1.011, allocations: 19.94 kB / 1.237 GB, free: 15.82 MB / 0.9669 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.0001645/1.011, allocations: 149.7 kB / 1.237 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/1.012, allocations: 39.53 kB / 1.237 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/1.012, allocations: 188.1 kB / 1.237 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/1.012, allocations: 3.984 kB / 1.237 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.012, allocations: 0 / 1.237 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/1.012, allocations: 132.5 kB / 1.238 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-05/1.012, allocations: 12 kB / 1.238 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/1.012, allocations: 7.984 kB / 1.238 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/1.012, allocations: 11.92 kB / 1.238 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003097/1.013, allocations: 227.4 kB / 1.238 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000326/1.013, allocations: 358.2 kB / 1.238 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.695e-05/1.013, allocations: 51.97 kB / 1.238 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003882/1.014, allocations: 327.1 kB / 1.239 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of Backend: time 3.11e-07/1.014, allocations: 0 / 1.239 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009371/1.015, allocations: 276.8 kB / 1.239 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001657/1.016, allocations: 1.172 MB / 1.24 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of Templates: time 0.01379/1.03, allocations: 6.972 MB / 1.247 GB, free: 5.953 MB / 0.9669 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