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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.4/2.4, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001357/0.001357, allocations: 182.9 kB / 0.4902 GB, free: 2.223 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.625/1.625, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0008829/0.0008828, allocations: 94.39 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003831, allocations: 10.28 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3223, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.481/7.803, allocations: 2.869 GB / 4.098 GB, free: 333.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/7.804, allocations: 85.67 kB / 4.099 GB, free: 333.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.076/14.88, allocations: 1.762 GB / 5.86 GB, free: 194.5 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.805e-06/14.88, allocations: 0 / 5.86 GB, free: 194.5 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0002755/14.88, allocations: 59.33 kB / 5.861 GB, free: 194.5 MB / 1.214 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.007522/14.89, allocations: 2.077 MB / 5.863 GB, free: 194 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/14.89, allocations: 8.719 kB / 5.863 GB, free: 194 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003427/14.89, allocations: 430.9 kB / 5.863 GB, free: 193.9 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003438/14.89, allocations: 1.304 MB / 5.864 GB, free: 193.6 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.755e-05/14.89, allocations: 97.12 kB / 5.864 GB, free: 193.6 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/14.9, allocations: 133.4 kB / 5.864 GB, free: 193.6 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/14.9, allocations: 1.597 MB / 5.866 GB, free: 193.2 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/14.9, allocations: 7.172 kB / 5.866 GB, free: 193.2 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/14.9, allocations: 52.5 kB / 5.866 GB, free: 193.2 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.448e-05/14.9, allocations: 56.98 kB / 5.866 GB, free: 193.2 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/14.9, allocations: 1.106 MB / 5.867 GB, free: 193.2 MB / 1.214 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.006699/14.91, allocations: 7.001 MB / 5.874 GB, free: 189.5 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/14.91, allocations: 0.5778 MB / 5.875 GB, free: 189.4 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001606/14.91, allocations: 2.43 MB / 5.877 GB, free: 186.7 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/14.91, allocations: 45.14 kB / 5.877 GB, free: 186.7 MB / 1.214 GB Notification: Performance of pre-optimization done (n=72): time 3.126e-06/14.91, allocations: 0 / 5.877 GB, free: 186.7 MB / 1.214 GB Notification: Performance of matching and sorting (n=72): time 0.00246/14.91, allocations: 1.321 MB / 5.878 GB, free: 186.6 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/14.91, allocations: 217.9 kB / 5.879 GB, free: 186.3 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/14.91, allocations: 1.643 MB / 5.88 GB, free: 186.1 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 8.469e-05/14.91, allocations: 44.48 kB / 5.88 GB, free: 186.1 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004944/14.91, allocations: 0.7349 MB / 5.881 GB, free: 186 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/14.91, allocations: 243.3 kB / 5.881 GB, free: 185.9 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/14.91, allocations: 13.53 kB / 5.881 GB, free: 185.9 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 6.116e-05/14.91, allocations: 331.9 kB / 5.881 GB, free: 185.6 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/14.91, allocations: 299 kB / 5.882 GB, free: 185.6 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/14.91, allocations: 0.5838 MB / 5.882 GB, free: 185.3 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/14.92, allocations: 390.4 kB / 5.883 GB, free: 185.3 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/14.92, allocations: 0 / 5.883 GB, free: 185.3 MB / 1.214 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001131/14.92, allocations: 0.9539 MB / 5.884 GB, free: 185.2 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/14.92, allocations: 7.719 kB / 5.884 GB, free: 185.2 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/14.92, allocations: 5.25 kB / 5.884 GB, free: 185.2 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/14.92, allocations: 7.281 kB / 5.884 GB, free: 185.2 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/14.92, allocations: 130.7 kB / 5.884 GB, free: 185.2 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/14.92, allocations: 7.25 kB / 5.884 GB, free: 185.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009779/14.92, allocations: 136 kB / 5.884 GB, free: 185.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/14.92, allocations: 65.7 kB / 5.884 GB, free: 185.1 MB / 1.214 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.0006136/14.92, allocations: 467.5 kB / 5.884 GB, free: 185 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/14.92, allocations: 196 kB / 5.885 GB, free: 184.9 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/14.92, allocations: 1.045 MB / 5.886 GB, free: 184.9 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/14.92, allocations: 13.95 kB / 5.886 GB, free: 184.9 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/14.92, allocations: 3.969 kB / 5.886 GB, free: 184.9 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/14.92, allocations: 7.234 kB / 5.886 GB, free: 184.9 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008577/14.93, allocations: 8.503 MB / 5.894 GB, free: 182.4 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/14.93, allocations: 11.41 kB / 5.894 GB, free: 182.4 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/14.93, allocations: 145.2 kB / 5.894 GB, free: 182.4 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-05/14.93, allocations: 24.77 kB / 5.894 GB, free: 182.4 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/14.93, allocations: 43.2 kB / 5.894 GB, free: 182.4 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.801e-05/14.93, allocations: 26.56 kB / 5.894 GB, free: 182.4 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-05/14.93, allocations: 28.23 kB / 5.894 GB, free: 182.4 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/14.93, allocations: 2.829 MB / 5.897 GB, free: 179.9 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008766/14.93, allocations: 408.4 kB / 5.897 GB, free: 179.7 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/14.93, allocations: 32.83 kB / 5.897 GB, free: 179.7 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006725/14.93, allocations: 39.5 kB / 5.897 GB, free: 179.7 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-05/14.93, allocations: 103.2 kB / 5.898 GB, free: 179.7 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.047e-05/14.93, allocations: 57.11 kB / 5.898 GB, free: 179.7 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001463/14.93, allocations: 1.301 MB / 5.899 GB, free: 179.5 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.6e-07/14.93, allocations: 3.594 kB / 5.899 GB, free: 179.5 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.002848/14.94, allocations: 0.7562 MB / 5.9 GB, free: 179.5 MB / 1.214 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.004604/14.94, allocations: 2.771 MB / 5.902 GB, free: 178.9 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.001177/14.94, allocations: 0.8175 MB / 5.903 GB, free: 178.9 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/14.94, allocations: 3.188 kB / 5.903 GB, free: 178.9 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.0004721/14.94, allocations: 481.8 kB / 5.904 GB, free: 178.9 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005262/14.95, allocations: 1.257 MB / 5.905 GB, free: 178.9 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/14.95, allocations: 3.579 MB / 5.908 GB, free: 177 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008106/14.95, allocations: 1.438 MB / 5.91 GB, free: 176.3 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.001445/14.96, allocations: 490.4 kB / 5.91 GB, free: 176.3 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/14.96, allocations: 120 kB / 5.91 GB, free: 176.3 MB / 1.214 GB Notification: Performance of SimCode: time 8.41e-07/14.96, allocations: 0 / 5.91 GB, free: 176.3 MB / 1.214 GB Notification: Performance of Templates: time 0.0944/15.05, allocations: 68.42 MB / 5.977 GB, free: 175.1 MB / 1.214 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 -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","../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches