Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.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.BoundaryWithX_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.BoundaryWithX_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.BoundaryWithX_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 97.91 kB / 15.05 MB, free: 1.105 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.001374/0.001374, allocations: 177.3 kB / 15.95 MB, free: 216 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.317/1.317, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.533/2.533, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003691, allocations: 12 kB / 0.8707 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6287/0.6291, allocations: 153.7 MB / 1.021 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.1829/0.812, allocations: 171.4 MB / 1.188 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01383/0.8259, allocations: 10.59 MB / 1.199 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.8271, allocations: 43.62 kB / 1.199 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.8289, allocations: 0.6064 MB / 1.199 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003777/0.8327, allocations: 1.453 MB / 1.201 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004292/0.837, allocations: 1.672 MB / 1.202 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002196/0.8392, allocations: 1.332 MB / 1.204 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.8405, allocations: 0.9372 MB / 1.204 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.8415, allocations: 0.5916 MB / 1.205 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005233/0.842, allocations: 442 kB / 1.205 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.626e-05/0.8421, allocations: 36 kB / 1.205 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003725/0.8459, allocations: 1.681 MB / 1.207 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004348/0.8463, allocations: 462.8 kB / 1.208 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003151/0.8467, allocations: 305 kB / 1.208 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002621/0.8493, allocations: 2.093 MB / 1.21 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.8493, allocations: 0 / 1.21 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8493, allocations: 0 / 1.21 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.617e-05/0.8493, allocations: 0 / 1.21 GB, free: 15.04 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001974/0.8513, allocations: 1.445 MB / 1.211 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.8514, allocations: 15.98 kB / 1.211 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/0.8531, allocations: 377.7 kB / 1.212 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.8545, allocations: 0.8573 MB / 1.213 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.189e-05/0.8546, allocations: 78.06 kB / 1.213 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.8547, allocations: 100 kB / 1.213 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.8568, allocations: 1.509 MB / 1.214 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.8568, allocations: 7.938 kB / 1.214 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.572e-05/0.8569, allocations: 48 kB / 1.214 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.398e-05/0.857, allocations: 69.52 kB / 1.214 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.8584, allocations: 1.013 MB / 1.215 GB, free: 9.312 MB / 0.9669 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.005725/0.8642, allocations: 5.836 MB / 1.221 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/0.8647, allocations: 318.2 kB / 1.221 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003353/0.8651, allocations: 368.4 kB / 1.222 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.8651, allocations: 42.52 kB / 1.222 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 2.274e-06/0.8651, allocations: 0 / 1.222 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28): time 0.001286/0.8664, allocations: 0.6718 MB / 1.222 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.8665, allocations: 136.5 kB / 1.222 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.8684, allocations: 1.667 MB / 1.224 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/0.8685, allocations: 41.83 kB / 1.224 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004708/0.869, allocations: 0.5583 MB / 1.225 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.768e-05/0.869, allocations: 94.64 kB / 1.225 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.8691, allocations: 4 kB / 1.225 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.431e-05/0.8692, allocations: 314 kB / 1.225 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.8694, allocations: 159.9 kB / 1.225 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.8697, allocations: 268.5 kB / 1.225 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.8699, allocations: 187.8 kB / 1.226 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.8699, allocations: 7.938 kB / 1.226 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007177/0.8707, allocations: 0.5464 MB / 1.226 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.8707, allocations: 7.953 kB / 1.226 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.8707, allocations: 4 kB / 1.226 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.8707, allocations: 4.062 kB / 1.226 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.871, allocations: 55.91 kB / 1.226 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.871, allocations: 4 kB / 1.226 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/0.8715, allocations: 118.7 kB / 1.226 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.8716, allocations: 20 kB / 1.226 GB, free: 13.39 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0004575/0.8721, allocations: 383.3 kB / 1.227 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.8723, allocations: 134.3 kB / 1.227 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005719/0.8729, allocations: 393.8 kB / 1.227 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.8729, allocations: 4 kB / 1.227 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.8729, allocations: 0 / 1.227 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.8729, allocations: 11.92 kB / 1.227 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/0.8763, allocations: 2.49 MB / 1.23 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.8763, allocations: 12.12 kB / 1.23 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.8765, allocations: 55.78 kB / 1.23 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.8765, allocations: 8 kB / 1.23 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.8766, allocations: 16 kB / 1.23 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/0.8766, allocations: 8 kB / 1.23 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.8766, allocations: 7.938 kB / 1.23 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009156/0.8775, allocations: 0.9923 MB / 1.231 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005657/0.8781, allocations: 307.3 kB / 1.231 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.8783, allocations: 11.98 kB / 1.231 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.8787, allocations: 23.84 kB / 1.231 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.8787, allocations: 35.88 kB / 1.231 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.8788, allocations: 19.98 kB / 1.231 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001446/0.8802, allocations: 1.195 MB / 1.232 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8802, allocations: 4 kB / 1.232 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009652/0.8812, allocations: 331.8 kB / 1.233 GB, free: 6.492 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.001364/0.8826, allocations: 0.4944 MB / 1.233 GB, free: 6 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005247/0.8831, allocations: 331.6 kB / 1.233 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8831, allocations: 0 / 1.233 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.8833, allocations: 165.5 kB / 1.234 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003704/0.887, allocations: 0.8438 MB / 1.234 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.89, allocations: 2.304 MB / 1.237 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008105/0.8908, allocations: 1.236 MB / 1.238 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009185/0.8917, allocations: 298.6 kB / 1.238 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.8919, allocations: 79.44 kB / 1.238 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of SimCode: time 6.02e-07/0.8919, allocations: 0 / 1.238 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of Templates: time 0.5119/1.404, allocations: 28.42 MB / 1.266 GB, free: 222.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches