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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 387.1 MB / 399.7 MB, free: 9.496 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009803/0.0009802, allocations: 180.9 kB / 492.3 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.703/1.703, allocations: 221.3 MB / 0.7871 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009764/0.0009765, allocations: 95.31 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.081e-05/3.083e-05, allocations: 7.125 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3136, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.389/8.703, allocations: 2.868 GB / 4.081 GB, free: 322 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/8.703, allocations: 84.45 kB / 4.081 GB, free: 321.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.917/15.62, allocations: 1.762 GB / 5.843 GB, free: 180.9 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.805e-06/15.62, allocations: 0 / 5.843 GB, free: 180.9 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.000186/15.62, allocations: 62.64 kB / 5.843 GB, free: 180.9 MB / 1.198 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.005262/15.63, allocations: 1.842 MB / 5.844 GB, free: 180.1 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 7.712e-05/15.63, allocations: 10.66 kB / 5.844 GB, free: 180.1 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002728/15.63, allocations: 442 kB / 5.845 GB, free: 180 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/15.63, allocations: 1.303 MB / 5.846 GB, free: 179.7 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.059e-05/15.63, allocations: 102.6 kB / 5.846 GB, free: 179.6 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/15.63, allocations: 133.8 kB / 5.846 GB, free: 179.6 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/15.63, allocations: 1.58 MB / 5.848 GB, free: 179.3 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/15.63, allocations: 7.188 kB / 5.848 GB, free: 179.3 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/15.63, allocations: 59.97 kB / 5.848 GB, free: 179.3 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.906e-05/15.63, allocations: 47.86 kB / 5.848 GB, free: 179.3 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/15.64, allocations: 1.081 MB / 5.849 GB, free: 179.3 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.008084/15.64, allocations: 6.995 MB / 5.856 GB, free: 175.6 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008091/15.64, allocations: 0.5688 MB / 5.856 GB, free: 175.4 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006153/15.65, allocations: 0.5706 MB / 5.857 GB, free: 175.4 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001751/15.65, allocations: 2.422 MB / 5.859 GB, free: 172.7 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/15.65, allocations: 43.19 kB / 5.859 GB, free: 172.7 MB / 1.198 GB Notification: Performance of pre-optimization done (n=72): time 4.058e-06/15.65, allocations: 0 / 5.859 GB, free: 172.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=72): time 0.002406/15.65, allocations: 1.003 MB / 5.86 GB, free: 172.6 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/15.65, allocations: 222.6 kB / 5.861 GB, free: 172.3 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002403/15.65, allocations: 1.626 MB / 5.862 GB, free: 172.1 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/15.65, allocations: 45.58 kB / 5.862 GB, free: 172.1 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006128/15.65, allocations: 0.7303 MB / 5.863 GB, free: 172 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/15.65, allocations: 241.2 kB / 5.863 GB, free: 171.8 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/15.65, allocations: 11.38 kB / 5.863 GB, free: 171.8 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 8.598e-05/15.65, allocations: 335.7 kB / 5.863 GB, free: 171.5 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/15.65, allocations: 287.5 kB / 5.864 GB, free: 171.5 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006003/15.65, allocations: 0.5798 MB / 5.864 GB, free: 171.3 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/15.65, allocations: 374.1 kB / 5.865 GB, free: 171.3 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/15.65, allocations: 5.406 kB / 5.865 GB, free: 171.3 MB / 1.198 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001447/15.66, allocations: 0.951 MB / 5.866 GB, free: 171.2 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/15.66, allocations: 7.656 kB / 5.866 GB, free: 171.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/15.66, allocations: 5.594 kB / 5.866 GB, free: 171.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/15.66, allocations: 7.812 kB / 5.866 GB, free: 171.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/15.66, allocations: 127 kB / 5.866 GB, free: 171.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/15.66, allocations: 9.875 kB / 5.866 GB, free: 171.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/15.66, allocations: 145.7 kB / 5.866 GB, free: 171.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/15.66, allocations: 70.02 kB / 5.866 GB, free: 171.1 MB / 1.198 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 () * 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.0001548/15.66, allocations: 150.7 kB / 5.866 GB, free: 171 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002861/15.66, allocations: 190.6 kB / 5.866 GB, free: 170.9 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/15.66, allocations: 1.035 MB / 5.867 GB, free: 170.8 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/15.66, allocations: 15.55 kB / 5.867 GB, free: 170.8 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/15.66, allocations: 0 / 5.867 GB, free: 170.8 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/15.66, allocations: 10.11 kB / 5.867 GB, free: 170.8 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/15.67, allocations: 8.507 MB / 5.876 GB, free: 168.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/15.67, allocations: 15.09 kB / 5.876 GB, free: 168.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/15.67, allocations: 143.1 kB / 5.876 GB, free: 168.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.98e-05/15.67, allocations: 22.19 kB / 5.876 GB, free: 168.4 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/15.67, allocations: 37.5 kB / 5.876 GB, free: 168.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-05/15.67, allocations: 30.3 kB / 5.876 GB, free: 168.4 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.438e-05/15.67, allocations: 27.91 kB / 5.876 GB, free: 168.4 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002547/15.67, allocations: 2.815 MB / 5.879 GB, free: 165.9 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009098/15.68, allocations: 418.8 kB / 5.879 GB, free: 165.7 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/15.68, allocations: 32.8 kB / 5.879 GB, free: 165.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007046/15.68, allocations: 47.98 kB / 5.879 GB, free: 165.6 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/15.68, allocations: 101.3 kB / 5.879 GB, free: 165.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.747e-05/15.68, allocations: 56.66 kB / 5.879 GB, free: 165.6 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.001789/15.68, allocations: 1.274 MB / 5.881 GB, free: 165.5 MB / 1.198 GB Notification: Performance of sort global known variables: time 4.11e-07/15.68, allocations: 2.812 kB / 5.881 GB, free: 165.5 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004484/15.68, allocations: 0.7527 MB / 5.881 GB, free: 165.4 MB / 1.198 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 () * 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.006505/15.69, allocations: 2.766 MB / 5.884 GB, free: 164.7 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.001482/15.69, allocations: 0.8093 MB / 5.885 GB, free: 164.7 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/15.69, allocations: 5.609 kB / 5.885 GB, free: 164.7 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005546/15.69, allocations: 479.7 kB / 5.885 GB, free: 164.7 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006369/15.7, allocations: 1.259 MB / 5.886 GB, free: 164.6 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003858/15.7, allocations: 2.593 MB / 5.889 GB, free: 163.5 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008645/15.7, allocations: 1.439 MB / 5.89 GB, free: 162.8 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.002129/15.7, allocations: 493.8 kB / 5.891 GB, free: 162.8 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/15.7, allocations: 123.4 kB / 5.891 GB, free: 162.8 MB / 1.198 GB Notification: Performance of SimCode: time 1.673e-06/15.7, allocations: 0 / 5.891 GB, free: 162.8 MB / 1.198 GB Notification: Performance of Templates: time 0.1151/15.82, allocations: 75.11 MB / 5.964 GB, free: 159.7 MB / 1.198 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","../files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches