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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009864/0.0009863, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009987/0.0009988, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.9 MB / 0.666 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003449, allocations: 8 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7729/0.7733, allocations: 142.4 MB / 0.9544 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2473/1.021, allocations: 232.3 MB / 1.181 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02465/1.045, allocations: 19.44 MB / 1.2 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002918/1.048, allocations: 75.31 kB / 1.2 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002358/1.051, allocations: 0.5737 MB / 1.201 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007026/1.058, allocations: 2.242 MB / 1.203 GB, free: 192 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005825/1.064, allocations: 1.869 MB / 1.205 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005703/1.069, allocations: 4.332 MB / 1.209 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001877/1.071, allocations: 0.8957 MB / 1.21 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002949/1.074, allocations: 1.247 MB / 1.211 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/1.076, allocations: 1.004 MB / 1.212 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/1.076, allocations: 48 kB / 1.212 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008096/1.084, allocations: 3.28 MB / 1.215 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0009239/1.085, allocations: 0.5959 MB / 1.216 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007814/1.086, allocations: 424.6 kB / 1.216 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004649/1.091, allocations: 2.977 MB / 1.219 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.091, allocations: 0 / 1.219 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.124e-06/1.091, allocations: 0 / 1.219 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.183e-05/1.091, allocations: 0 / 1.219 GB, free: 15.47 MB / 0.9825 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.002852/1.093, allocations: 1.925 MB / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/1.093, allocations: 12.03 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/1.095, allocations: 485 kB / 1.222 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/1.097, allocations: 1.198 MB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.099e-05/1.097, allocations: 94.44 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/1.097, allocations: 128 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/1.1, allocations: 1.708 MB / 1.225 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/1.1, allocations: 4 kB / 1.225 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.704e-05/1.1, allocations: 48 kB / 1.225 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.013e-05/1.1, allocations: 67.86 kB / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/1.102, allocations: 1.227 MB / 1.226 GB, free: 8.344 MB / 0.9825 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.007694/1.11, allocations: 7.56 MB / 1.233 GB, free: 400 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009127/1.111, allocations: 0.6578 MB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007095/1.111, allocations: 0.6225 MB / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001485/1.113, allocations: 1.867 MB / 1.237 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/1.113, allocations: 54.5 kB / 1.237 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 2.544e-06/1.113, allocations: 0 / 1.237 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72): time 0.002303/1.115, allocations: 1.376 MB / 1.238 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/1.115, allocations: 306.7 kB / 1.238 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/1.117, allocations: 1.869 MB / 1.24 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.028e-05/1.118, allocations: 45.7 kB / 1.24 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006228/1.118, allocations: 0.7253 MB / 1.241 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/1.118, allocations: 240.5 kB / 1.241 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/1.118, allocations: 12 kB / 1.241 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.119, allocations: 334 kB / 1.241 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/1.119, allocations: 325.1 kB / 1.242 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/1.12, allocations: 0.5625 MB / 1.242 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004819/1.12, allocations: 407.8 kB / 1.243 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/1.12, allocations: 0 / 1.243 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001365/1.121, allocations: 1.003 MB / 1.244 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.121, allocations: 8 kB / 1.244 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/1.121, allocations: 4 kB / 1.244 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/1.122, allocations: 12.12 kB / 1.244 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/1.122, allocations: 123.9 kB / 1.244 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/1.122, allocations: 11.94 kB / 1.244 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007983/1.123, allocations: 134.3 kB / 1.244 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/1.123, allocations: 47.94 kB / 1.244 GB, free: 4.957 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007158/1.124, allocations: 461.3 kB / 1.244 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003447/1.124, allocations: 189.6 kB / 1.245 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/1.126, allocations: 1.084 MB / 1.246 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/1.126, allocations: 12 kB / 1.246 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/1.126, allocations: 0 / 1.246 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/1.126, allocations: 7.984 kB / 1.246 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5686/1.694, allocations: 8.788 MB / 1.254 GB, free: 281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.743e-05/1.694, allocations: 14.91 kB / 1.254 GB, free: 281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/1.695, allocations: 141.2 kB / 1.254 GB, free: 281 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.926e-05/1.695, allocations: 25.23 kB / 1.254 GB, free: 281 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/1.695, allocations: 39.81 kB / 1.254 GB, free: 281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-05/1.695, allocations: 34.62 kB / 1.254 GB, free: 281 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.201e-05/1.695, allocations: 21.5 kB / 1.254 GB, free: 281 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/1.697, allocations: 1.663 MB / 1.256 GB, free: 279.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00086/1.698, allocations: 418 kB / 1.256 GB, free: 279.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002738/1.699, allocations: 33.3 kB / 1.257 GB, free: 279.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007144/1.699, allocations: 47.59 kB / 1.257 GB, free: 279.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/1.699, allocations: 101.3 kB / 1.257 GB, free: 279.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/1.7, allocations: 60.77 kB / 1.257 GB, free: 279.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00214/1.702, allocations: 1.298 MB / 1.258 GB, free: 279 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.702, allocations: 3.938 kB / 1.258 GB, free: 279 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002198/1.704, allocations: 0.5214 MB / 1.259 GB, free: 279 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002241/1.706, allocations: 0.7735 MB / 1.259 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00135/1.708, allocations: 0.8108 MB / 1.26 GB, free: 278.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.708, allocations: 2.281 kB / 1.26 GB, free: 278.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005908/1.708, allocations: 485.6 kB / 1.261 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005927/1.714, allocations: 1.266 MB / 1.262 GB, free: 278.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004907/1.719, allocations: 3.577 MB / 1.265 GB, free: 275.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/1.72, allocations: 1.409 MB / 1.267 GB, free: 274.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001836/1.722, allocations: 489.3 kB / 1.267 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004432/1.722, allocations: 118.9 kB / 1.267 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/1.722, allocations: 0 / 1.267 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.06141/1.784, allocations: 41.14 MB / 1.307 GB, free: 243.5 MB / 0.9981 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