Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouWat.p|bouProGly.p|bouMoiAir.p|bouMoiAirCO2.p|bouProFluGas.p|bouNatGas.p|bouNatGasFix.p|bouWat.T|bouProGly.T|bouMoiAir.T|bouMoiAirCO2.T|bouProFluGas.T|bouNatGas.T|bouNatGasFix.T|bouMoiAir.Xi.1.|bouMoiAirCO2.Xi.1.|bouProFluGas.Xi.1.|bouProFluGas.Xi.2.|bouProFluGas.Xi.3.|bouProFluGas.Xi.4.|bouProFluGas.Xi.5.|bouNatGas.Xi.1.|bouNatGas.Xi.2.|bouNatGas.Xi.3.|bouNatGas.Xi.4.|bouNatGas.Xi.5.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary") translateModel(Buildings.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouWat.p|bouProGly.p|bouMoiAir.p|bouMoiAirCO2.p|bouProFluGas.p|bouNatGas.p|bouNatGasFix.p|bouWat.T|bouProGly.T|bouMoiAir.T|bouMoiAirCO2.T|bouProFluGas.T|bouNatGas.T|bouNatGasFix.T|bouMoiAir.Xi.1.|bouMoiAirCO2.Xi.1.|bouProFluGas.Xi.1.|bouProFluGas.Xi.2.|bouProFluGas.Xi.3.|bouProFluGas.Xi.4.|bouProFluGas.Xi.5.|bouNatGas.Xi.1.|bouNatGas.Xi.2.|bouNatGas.Xi.3.|bouNatGas.Xi.4.|bouNatGas.Xi.5.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 103.9 kB / 16.35 MB, free: 5.824 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.001192/0.001192, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.41/2.41, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.28 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2918, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.7085/1, allocations: 253.3 MB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02404/1.024, allocations: 20.59 MB / 1.294 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002503/1.027, allocations: 75.44 kB / 1.294 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002224/1.029, allocations: 0.8415 MB / 1.295 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007023/1.036, allocations: 2.905 MB / 1.298 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006329/1.043, allocations: 2.755 MB / 1.301 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005603/1.048, allocations: 3.812 MB / 1.304 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002237/1.051, allocations: 1.302 MB / 1.306 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003322/1.054, allocations: 1.429 MB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/1.055, allocations: 0.9877 MB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001678/1.055, allocations: 112 kB / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008123/1.063, allocations: 3.94 MB / 1.312 GB, free: 9.066 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007214/1.064, allocations: 0.6582 MB / 1.313 GB, free: 8.406 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001093/1.065, allocations: 0.9872 MB / 1.314 GB, free: 7.414 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006329/1.072, allocations: 4.149 MB / 1.318 GB, free: 3.254 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-05/1.072, allocations: 0 / 1.318 GB, free: 3.254 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.924e-06/1.072, allocations: 0 / 1.318 GB, free: 3.254 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.913e-05/1.072, allocations: 0 / 1.318 GB, free: 3.254 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.002964/1.075, allocations: 2.291 MB / 1.32 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/1.075, allocations: 8.031 kB / 1.32 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/1.077, allocations: 489 kB / 1.32 GB, free: 428 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/1.079, allocations: 1.38 MB / 1.322 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.747e-05/1.079, allocations: 94.44 kB / 1.322 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/1.079, allocations: 124 kB / 1.322 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/1.082, allocations: 1.723 MB / 1.324 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/1.082, allocations: 7.938 kB / 1.324 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-05/1.082, allocations: 48 kB / 1.324 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.601e-05/1.082, allocations: 67.72 kB / 1.324 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/1.083, allocations: 1.227 MB / 1.325 GB, free: 11.56 MB / 1.029 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.006716/1.09, allocations: 7.525 MB / 1.332 GB, free: 3.641 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008382/1.091, allocations: 0.6669 MB / 1.333 GB, free: 2.883 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006726/1.092, allocations: 0.6096 MB / 1.333 GB, free: 2.242 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/1.093, allocations: 1.869 MB / 1.335 GB, free: 15.97 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/1.093, allocations: 58.48 kB / 1.335 GB, free: 15.9 MB / 1.045 GB Notification: Performance of pre-optimization done (n=72): time 2.625e-06/1.093, allocations: 0 / 1.335 GB, free: 15.9 MB / 1.045 GB Notification: Performance of matching and sorting (n=72): time 0.002245/1.095, allocations: 1.387 MB / 1.337 GB, free: 14.51 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/1.096, allocations: 302.7 kB / 1.337 GB, free: 14.14 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/1.098, allocations: 1.88 MB / 1.339 GB, free: 12.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-05/1.098, allocations: 45.7 kB / 1.339 GB, free: 12.18 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005863/1.098, allocations: 0.7252 MB / 1.34 GB, free: 11.44 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/1.099, allocations: 248.3 kB / 1.34 GB, free: 11.2 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/1.099, allocations: 130.2 kB / 1.34 GB, free: 11.06 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.099, allocations: 341.9 kB / 1.34 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/1.099, allocations: 329.1 kB / 1.341 GB, free: 10.4 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006427/1.1, allocations: 0.5625 MB / 1.341 GB, free: 9.793 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009961/1.101, allocations: 0.8608 MB / 1.342 GB, free: 8.883 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.101, allocations: 0 / 1.342 GB, free: 8.883 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001355/1.102, allocations: 1.007 MB / 1.343 GB, free: 7.867 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.102, allocations: 11.98 kB / 1.343 GB, free: 7.855 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.102, allocations: 4 kB / 1.343 GB, free: 7.852 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.102, allocations: 4.5 kB / 1.343 GB, free: 7.848 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/1.103, allocations: 124 kB / 1.343 GB, free: 7.727 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/1.103, allocations: 15.88 kB / 1.343 GB, free: 7.711 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006745/1.104, allocations: 130.5 kB / 1.343 GB, free: 7.582 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.655e-05/1.104, allocations: 43.98 kB / 1.343 GB, free: 7.539 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.0005913/1.104, allocations: 465.4 kB / 1.344 GB, free: 7.074 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/1.105, allocations: 189.6 kB / 1.344 GB, free: 6.887 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/1.106, allocations: 1.091 MB / 1.345 GB, free: 5.789 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/1.106, allocations: 12 kB / 1.345 GB, free: 5.777 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.106, allocations: 4 kB / 1.345 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/1.106, allocations: 3.984 kB / 1.345 GB, free: 5.77 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/1.117, allocations: 8.753 MB / 1.354 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/1.117, allocations: 12.12 kB / 1.354 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004792/1.118, allocations: 151.7 kB / 1.354 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-05/1.118, allocations: 20 kB / 1.354 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.957e-05/1.118, allocations: 39.98 kB / 1.354 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-05/1.118, allocations: 35.89 kB / 1.354 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.087e-05/1.118, allocations: 23.88 kB / 1.354 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/1.12, allocations: 1.668 MB / 1.355 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008294/1.121, allocations: 422.3 kB / 1.356 GB, free: 9.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/1.121, allocations: 31.94 kB / 1.356 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006248/1.122, allocations: 28 kB / 1.356 GB, free: 9.852 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/1.122, allocations: 103.5 kB / 1.356 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.667e-05/1.122, allocations: 59.98 kB / 1.356 GB, free: 9.691 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001632/1.124, allocations: 1.312 MB / 1.357 GB, free: 8.359 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.483e-06/1.124, allocations: 4 kB / 1.357 GB, free: 8.355 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001625/1.125, allocations: 0.5152 MB / 1.358 GB, free: 7.84 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001992/1.127, allocations: 0.9256 MB / 1.359 GB, free: 6.914 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001258/1.129, allocations: 0.8523 MB / 1.36 GB, free: 6.062 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/1.129, allocations: 4 kB / 1.36 GB, free: 6.059 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005805/1.129, allocations: 490.5 kB / 1.36 GB, free: 5.582 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005196/1.134, allocations: 1.34 MB / 1.361 GB, free: 4.281 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/1.138, allocations: 3.23 MB / 1.364 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009516/1.139, allocations: 1.406 MB / 1.366 GB, free: 15.38 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001374/1.141, allocations: 486.6 kB / 1.366 GB, free: 14.89 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/1.141, allocations: 119.4 kB / 1.366 GB, free: 14.78 MB / 1.076 GB Notification: Performance of SimCode: time 6.41e-07/1.141, allocations: 0 / 1.366 GB, free: 14.78 MB / 1.076 GB Notification: Performance of Templates: time 0.06299/1.204, allocations: 42.46 MB / 1.408 GB, free: 4.727 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches