Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.001039/0.001039, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008516/0.008517, allocations: 169.8 kB / 16.27 MB, free: 6.332 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.444/2.444, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003602, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7284/0.7288, allocations: 142.4 MB / 0.955 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.3035/1.032, allocations: 248.7 MB / 1.198 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02625/1.059, allocations: 20.54 MB / 1.218 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002947/1.062, allocations: 75.31 kB / 1.218 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002186/1.064, allocations: 0.6481 MB / 1.219 GB, free: 492 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00762/1.071, allocations: 2.742 MB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00653/1.078, allocations: 2.5 MB / 1.224 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006323/1.084, allocations: 5.067 MB / 1.229 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/1.086, allocations: 1.065 MB / 1.23 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002882/1.089, allocations: 1.23 MB / 1.231 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/1.091, allocations: 1.038 MB / 1.232 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/1.091, allocations: 52 kB / 1.232 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009201/1.1, allocations: 5.06 MB / 1.237 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000736/1.101, allocations: 0.588 MB / 1.238 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001179/1.102, allocations: 0.9265 MB / 1.238 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007255/1.109, allocations: 4.444 MB / 1.243 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.109, allocations: 0 / 1.243 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.224e-06/1.109, allocations: 0 / 1.243 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.796e-05/1.109, allocations: 0 / 1.243 GB, free: 7.68 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.002777/1.112, allocations: 1.91 MB / 1.245 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.112, allocations: 12.03 kB / 1.245 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/1.114, allocations: 481 kB / 1.245 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/1.116, allocations: 1.259 MB / 1.246 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.56e-05/1.116, allocations: 98.36 kB / 1.246 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/1.116, allocations: 120 kB / 1.247 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/1.119, allocations: 1.723 MB / 1.248 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/1.119, allocations: 7.938 kB / 1.248 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/1.119, allocations: 52 kB / 1.248 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.8e-05/1.119, allocations: 63.92 kB / 1.248 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/1.121, allocations: 1.227 MB / 1.25 GB, free: 0.4922 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.7237/1.845, allocations: 7.567 MB / 1.257 GB, free: 20.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/1.846, allocations: 0.657 MB / 1.258 GB, free: 19.85 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008929/1.847, allocations: 0.6201 MB / 1.258 GB, free: 19.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/1.848, allocations: 1.876 MB / 1.26 GB, free: 17.71 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/1.848, allocations: 48.22 kB / 1.26 GB, free: 17.67 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 3.066e-06/1.848, allocations: 3.375 kB / 1.26 GB, free: 17.67 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72): time 0.00289/1.851, allocations: 1.392 MB / 1.261 GB, free: 17.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.482e-05/1.851, allocations: 300.8 kB / 1.262 GB, free: 17.19 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002816/1.854, allocations: 1.891 MB / 1.264 GB, free: 16.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.73e-05/1.854, allocations: 42.42 kB / 1.264 GB, free: 16.95 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006154/1.855, allocations: 0.7227 MB / 1.264 GB, free: 16.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/1.855, allocations: 242.3 kB / 1.265 GB, free: 16.67 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.719e-05/1.855, allocations: 53.56 kB / 1.265 GB, free: 16.65 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.571e-05/1.855, allocations: 330.9 kB / 1.265 GB, free: 16.34 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/1.855, allocations: 330.5 kB / 1.265 GB, free: 16.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007458/1.856, allocations: 0.5632 MB / 1.266 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/1.858, allocations: 0.8611 MB / 1.267 GB, free: 16.08 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.858, allocations: 5 kB / 1.267 GB, free: 16.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002009/1.86, allocations: 1.009 MB / 1.268 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/1.86, allocations: 6.156 kB / 1.268 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/1.86, allocations: 4.125 kB / 1.268 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/1.86, allocations: 6.312 kB / 1.268 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/1.86, allocations: 129.8 kB / 1.268 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.86, allocations: 6.75 kB / 1.268 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009505/1.861, allocations: 138.4 kB / 1.268 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/1.861, allocations: 49.44 kB / 1.268 GB, free: 15.86 MB / 0.9981 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.0006895/1.862, allocations: 458.2 kB / 1.268 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003776/1.862, allocations: 193.4 kB / 1.269 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/1.864, allocations: 1.086 MB / 1.27 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.512e-05/1.864, allocations: 13.16 kB / 1.27 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/1.864, allocations: 3.5 kB / 1.27 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/1.864, allocations: 5.625 kB / 1.27 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/1.875, allocations: 8.789 MB / 1.278 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-05/1.875, allocations: 16.09 kB / 1.278 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/1.876, allocations: 144.6 kB / 1.278 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.442e-05/1.876, allocations: 23.41 kB / 1.278 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-05/1.876, allocations: 37.5 kB / 1.278 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.892e-05/1.876, allocations: 31.83 kB / 1.278 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.649e-05/1.876, allocations: 27.12 kB / 1.279 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/1.878, allocations: 1.667 MB / 1.28 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008341/1.879, allocations: 416.1 kB / 1.281 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/1.879, allocations: 36.75 kB / 1.281 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006821/1.88, allocations: 43.92 kB / 1.281 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/1.88, allocations: 108.5 kB / 1.281 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.513e-05/1.88, allocations: 52.72 kB / 1.281 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001868/1.882, allocations: 1.323 MB / 1.282 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.882, allocations: 0 / 1.282 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001932/1.884, allocations: 0.5302 MB / 1.283 GB, free: 11.51 MB / 0.9981 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.002204/1.886, allocations: 0.9542 MB / 1.284 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001121/1.887, allocations: 0.8174 MB / 1.284 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.887, allocations: 1.75 kB / 1.284 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004987/1.888, allocations: 486.9 kB / 1.285 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009429/1.897, allocations: 1.269 MB / 1.286 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/1.902, allocations: 3.764 MB / 1.29 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008469/1.902, allocations: 1.405 MB / 1.291 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001636/1.904, allocations: 484.3 kB / 1.292 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/1.904, allocations: 125.9 kB / 1.292 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of SimCode: time 1.402e-06/1.904, allocations: 0 / 1.292 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of Templates: time 0.07202/1.976, allocations: 42.16 MB / 1.333 GB, free: 13.37 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.sim & ./Buildings_9_Buildings.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches