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.269/2.269, allocations: 390.3 MB / 402.8 MB, free: 6.625 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.001198/0.001198, allocations: 180.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.001123/0.001123, allocations: 99.89 kB / 0.9318 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.622e-05/3.65e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3312, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.804/9.136, allocations: 2.869 GB / 4.088 GB, free: 288 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/9.136, allocations: 83.14 kB / 4.088 GB, free: 287.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.862/16, allocations: 1.762 GB / 5.85 GB, free: 172.7 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.846e-06/16, allocations: 0 / 5.85 GB, free: 172.7 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0001665/16, allocations: 62.34 kB / 5.85 GB, free: 172.7 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.004289/16, allocations: 1.84 MB / 5.852 GB, free: 171.9 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/16, allocations: 11.92 kB / 5.852 GB, free: 171.9 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002403/16.01, allocations: 443.7 kB / 5.852 GB, free: 171.8 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/16.01, allocations: 1.302 MB / 5.853 GB, free: 171.4 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.972e-05/16.01, allocations: 103.5 kB / 5.853 GB, free: 171.4 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/16.01, allocations: 128.1 kB / 5.853 GB, free: 171.4 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/16.01, allocations: 1.58 MB / 5.855 GB, free: 171.1 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/16.01, allocations: 8.031 kB / 5.855 GB, free: 171.1 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/16.01, allocations: 52 kB / 5.855 GB, free: 171.1 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.174e-05/16.01, allocations: 49.67 kB / 5.855 GB, free: 171.1 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/16.01, allocations: 1.079 MB / 5.856 GB, free: 171.1 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.007422/16.02, allocations: 7.008 MB / 5.863 GB, free: 167.4 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/16.02, allocations: 0.577 MB / 5.864 GB, free: 167.2 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007086/16.02, allocations: 0.5571 MB / 5.864 GB, free: 167.2 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002256/16.02, allocations: 2.418 MB / 5.866 GB, free: 164.5 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.665e-05/16.02, allocations: 50.8 kB / 5.867 GB, free: 164.5 MB / 1.198 GB Notification: Performance of pre-optimization done (n=72): time 4.459e-06/16.02, allocations: 0 / 5.867 GB, free: 164.5 MB / 1.198 GB Notification: Performance of matching and sorting (n=72): time 0.003013/16.03, allocations: 1.007 MB / 5.868 GB, free: 164.4 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/16.03, allocations: 228.2 kB / 5.868 GB, free: 164.1 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002633/16.03, allocations: 1.623 MB / 5.869 GB, free: 163.9 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/16.03, allocations: 43.58 kB / 5.869 GB, free: 163.9 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007489/16.03, allocations: 0.7201 MB / 5.87 GB, free: 163.7 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/16.03, allocations: 248.5 kB / 5.87 GB, free: 163.6 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/16.03, allocations: 14.09 kB / 5.87 GB, free: 163.6 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001236/16.03, allocations: 332.4 kB / 5.871 GB, free: 163.3 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/16.03, allocations: 288.2 kB / 5.871 GB, free: 163.3 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/16.03, allocations: 0.5825 MB / 5.871 GB, free: 163.1 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/16.03, allocations: 382.1 kB / 5.872 GB, free: 163.1 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/16.03, allocations: 3 kB / 5.872 GB, free: 163.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001447/16.03, allocations: 0.9486 MB / 5.873 GB, free: 162.9 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/16.03, allocations: 3.344 kB / 5.873 GB, free: 162.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/16.03, allocations: 10.39 kB / 5.873 GB, free: 162.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/16.03, allocations: 6.906 kB / 5.873 GB, free: 162.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/16.03, allocations: 126.9 kB / 5.873 GB, free: 162.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/16.03, allocations: 11.62 kB / 5.873 GB, free: 162.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/16.04, allocations: 142.7 kB / 5.873 GB, free: 162.9 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/16.04, allocations: 59.69 kB / 5.873 GB, free: 162.9 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.0001599/16.04, allocations: 153.4 kB / 5.873 GB, free: 162.8 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003024/16.04, allocations: 188.7 kB / 5.873 GB, free: 162.7 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/16.04, allocations: 1.037 MB / 5.874 GB, free: 162.6 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/16.04, allocations: 18.14 kB / 5.874 GB, free: 162.6 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/16.04, allocations: 6.312 kB / 5.874 GB, free: 162.6 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/16.04, allocations: 14.28 kB / 5.874 GB, free: 162.6 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009663/16.05, allocations: 8.492 MB / 5.883 GB, free: 160.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/16.05, allocations: 16.94 kB / 5.883 GB, free: 160.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/16.05, allocations: 146.1 kB / 5.883 GB, free: 160.1 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.32e-05/16.05, allocations: 21.34 kB / 5.883 GB, free: 160.1 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.777e-05/16.05, allocations: 42.41 kB / 5.883 GB, free: 160.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.896e-05/16.05, allocations: 28.58 kB / 5.883 GB, free: 160.1 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.535e-05/16.05, allocations: 23.62 kB / 5.883 GB, free: 160.1 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/16.05, allocations: 2.823 MB / 5.886 GB, free: 157.6 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009306/16.05, allocations: 403.1 kB / 5.886 GB, free: 157.5 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002228/16.05, allocations: 37.06 kB / 5.886 GB, free: 157.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007134/16.05, allocations: 44.86 kB / 5.886 GB, free: 157.5 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/16.05, allocations: 100.2 kB / 5.886 GB, free: 157.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.283e-05/16.05, allocations: 53.5 kB / 5.886 GB, free: 157.4 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.001864/16.05, allocations: 1.279 MB / 5.888 GB, free: 157.3 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.7e-07/16.05, allocations: 0 / 5.888 GB, free: 157.3 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.003876/16.06, allocations: 0.752 MB / 5.888 GB, free: 157.2 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.007047/16.07, allocations: 2.77 MB / 5.891 GB, free: 156.5 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.001536/16.07, allocations: 0.8128 MB / 5.892 GB, free: 156.4 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/16.07, allocations: 3.531 kB / 5.892 GB, free: 156.4 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005684/16.07, allocations: 478 kB / 5.892 GB, free: 156.4 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00666/16.07, allocations: 1.257 MB / 5.894 GB, free: 156.4 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/16.08, allocations: 2.607 MB / 5.896 GB, free: 155.3 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/16.08, allocations: 1.439 MB / 5.898 GB, free: 154.6 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.001798/16.08, allocations: 490.3 kB / 5.898 GB, free: 154.6 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/16.08, allocations: 121.4 kB / 5.898 GB, free: 154.6 MB / 1.198 GB Notification: Performance of SimCode: time 1.273e-06/16.08, allocations: 3.062 kB / 5.898 GB, free: 154.6 MB / 1.198 GB Notification: Performance of Templates: time 0.109/16.19, allocations: 75.1 MB / 5.971 GB, free: 151 MB / 1.198 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