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.001246/0.001246, allocations: 106.1 kB / 16.41 MB, free: 6.508 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.001324/0.001324, allocations: 187 kB / 17.34 MB, free: 5.742 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.366/1.366, 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.579/2.579, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 68.11 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8587/0.86, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01698/0.8771, allocations: 15.39 MB / 1.223 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006939/0.8841, allocations: 4.666 MB / 1.228 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007353/0.8849, allocations: 15.88 kB / 1.228 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000731/0.8856, allocations: 182.6 kB / 1.228 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001671/0.8873, allocations: 0.5634 MB / 1.229 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.889, allocations: 0.579 MB / 1.229 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001445/0.8905, allocations: 0.9664 MB / 1.23 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005393/0.891, allocations: 315.5 kB / 1.231 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007918/0.8918, allocations: 418.3 kB / 1.231 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004334/0.8923, allocations: 306.6 kB / 1.231 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.471e-05/0.8923, allocations: 24 kB / 1.231 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005652/0.8929, allocations: 223.6 kB / 1.231 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.893, allocations: 83.61 kB / 1.232 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.8932, allocations: 202.8 kB / 1.232 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007376/0.894, allocations: 0.508 MB / 1.232 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.894, allocations: 0 / 1.232 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.573e-06/0.894, allocations: 0 / 1.232 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.894, allocations: 0 / 1.232 GB, free: 5.102 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.0012/0.8952, allocations: 0.7318 MB / 1.233 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.8953, allocations: 8.031 kB / 1.233 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.875e-05/0.8954, allocations: 48.38 kB / 1.233 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.8961, allocations: 417.9 kB / 1.233 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.8961, allocations: 24.55 kB / 1.233 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.8962, allocations: 24 kB / 1.233 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.8965, allocations: 191.3 kB / 1.234 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.8965, allocations: 8 kB / 1.234 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.8966, allocations: 11.98 kB / 1.234 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.8966, allocations: 4 kB / 1.234 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.8968, allocations: 133.7 kB / 1.234 GB, free: 3.426 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.001456/0.8983, allocations: 0.8673 MB / 1.235 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.8987, allocations: 122.6 kB / 1.235 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.308e-05/0.8988, allocations: 48.83 kB / 1.235 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002967/0.8991, allocations: 340.4 kB / 1.235 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.8992, allocations: 34.56 kB / 1.235 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 2.574e-06/0.8992, allocations: 0 / 1.235 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0003808/0.8996, allocations: 173.1 kB / 1.235 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.8996, allocations: 55.41 kB / 1.235 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/0.9002, allocations: 461.8 kB / 1.236 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.9002, allocations: 33.7 kB / 1.236 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.9004, allocations: 208.3 kB / 1.236 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.9004, allocations: 39.39 kB / 1.236 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-05/0.9005, allocations: 57.61 kB / 1.236 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.9007, allocations: 346.8 kB / 1.236 GB, free: 464 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.9008, allocations: 51.97 kB / 1.237 GB, free: 412 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.901, allocations: 111.5 kB / 1.237 GB, free: 284 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.9012, allocations: 131.3 kB / 1.237 GB, free: 140 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.9012, allocations: 4 kB / 1.237 GB, free: 136 kB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003773/0.9016, allocations: 225 kB / 1.237 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.9016, allocations: 4 kB / 1.237 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.9016, allocations: 4 kB / 1.237 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.9016, allocations: 96 / 1.237 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.9019, allocations: 47.98 kB / 1.237 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.9019, allocations: 3.938 kB / 1.237 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.9022, allocations: 39.64 kB / 1.237 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.9022, allocations: 15.94 kB / 1.237 GB, free: 15.79 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.0001595/0.9024, allocations: 153.8 kB / 1.237 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-05/0.9025, allocations: 35.53 kB / 1.237 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003514/0.9028, allocations: 192.2 kB / 1.237 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.9029, allocations: 4 kB / 1.237 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.9029, allocations: 3.984 kB / 1.237 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.9029, allocations: 0 / 1.237 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007734/0.9037, allocations: 0.6263 MB / 1.238 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.9037, allocations: 4.125 kB / 1.238 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.9038, allocations: 27.92 kB / 1.238 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.9038, allocations: 0 / 1.238 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.9038, allocations: 4 kB / 1.238 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.9038, allocations: 0 / 1.238 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.9038, allocations: 7.938 kB / 1.238 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.9041, allocations: 296 kB / 1.238 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.9043, allocations: 132.8 kB / 1.239 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.9043, allocations: 8 kB / 1.239 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.9046, allocations: 7.984 kB / 1.239 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.9046, allocations: 23.8 kB / 1.239 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.9046, allocations: 8 kB / 1.239 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004165/0.905, allocations: 327.1 kB / 1.239 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9051, allocations: 0 / 1.239 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004448/0.9055, allocations: 103.9 kB / 1.239 GB, free: 13.73 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005132/0.906, allocations: 210.2 kB / 1.239 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003038/0.9063, allocations: 135.9 kB / 1.239 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.9064, allocations: 0 / 1.239 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-05/0.9065, allocations: 59.84 kB / 1.239 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009446/0.9074, allocations: 178.5 kB / 1.24 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.9088, allocations: 0.6977 MB / 1.24 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.9092, allocations: 0.8074 MB / 1.241 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.536e-05/0.9093, allocations: 35.44 kB / 1.241 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of SimCode: time 3.3e-07/0.9093, allocations: 0 / 1.241 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of Templates: time 0.01097/0.9203, allocations: 6.27 MB / 1.247 GB, free: 5.355 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