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.21/2.21, allocations: 390.5 MB / 398 MB, free: 10.89 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.00123/0.00123, allocations: 176.9 kB / 491.2 MB, free: 1.547 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.567/1.567, allocations: 221.5 MB / 0.7868 GB, free: 13.38 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.001166/0.001166, allocations: 87.23 kB / 0.9269 GB, free: 13.88 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.983e-05/1.985e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3321, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.015/8.347, allocations: 2.869 GB / 4.081 GB, free: 321 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/8.347, allocations: 87.95 kB / 4.081 GB, free: 320.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.375/15.72, allocations: 1.74 GB / 5.821 GB, free: 185.9 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.164e-06/15.72, allocations: 0 / 5.821 GB, free: 185.9 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0001643/15.72, allocations: 60.27 kB / 5.821 GB, free: 185.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.004393/15.73, allocations: 1.843 MB / 5.823 GB, free: 185.3 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/15.73, allocations: 14.11 kB / 5.823 GB, free: 185.3 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/15.73, allocations: 449.7 kB / 5.823 GB, free: 185.2 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/15.73, allocations: 1.298 MB / 5.824 GB, free: 184.9 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/15.73, allocations: 37 kB / 5.824 GB, free: 184.9 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/15.73, allocations: 80.91 kB / 5.825 GB, free: 184.9 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001707/15.73, allocations: 0.9942 MB / 5.826 GB, free: 184.8 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/15.74, allocations: 1.409 MB / 5.827 GB, free: 184.5 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/15.74, allocations: 4.594 kB / 5.827 GB, free: 184.5 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.46e-05/15.74, allocations: 3.781 kB / 5.827 GB, free: 184.5 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.668e-05/15.74, allocations: 51.98 kB / 5.827 GB, free: 184.5 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.007345/15.74, allocations: 6.414 MB / 5.833 GB, free: 180.9 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008232/15.74, allocations: 0.5456 MB / 5.834 GB, free: 180.8 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006267/15.74, allocations: 0.5299 MB / 5.834 GB, free: 180.7 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001839/15.75, allocations: 2.422 MB / 5.837 GB, free: 178.1 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/15.75, allocations: 50.19 kB / 5.837 GB, free: 178 MB / 1.198 GB Notification: Performance of pre-optimization done (n=72): time 5.8e-06/15.75, allocations: 3.891 kB / 5.837 GB, free: 178 MB / 1.198 GB Notification: Performance of matching and sorting (n=72): time 0.002734/15.75, allocations: 1.016 MB / 5.838 GB, free: 177.9 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/15.75, allocations: 217.8 kB / 5.838 GB, free: 177.7 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009406/15.75, allocations: 0.7797 MB / 5.839 GB, free: 177.5 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 7.261e-05/15.75, allocations: 25.7 kB / 5.839 GB, free: 177.5 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004854/15.75, allocations: 0.75 MB / 5.839 GB, free: 177.3 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/15.75, allocations: 232.2 kB / 5.84 GB, free: 177.2 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/15.75, allocations: 2.5 kB / 5.84 GB, free: 177.2 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 7.8e-05/15.75, allocations: 334.5 kB / 5.84 GB, free: 176.9 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/15.75, allocations: 279 kB / 5.84 GB, free: 176.9 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005352/15.75, allocations: 0.559 MB / 5.841 GB, free: 176.6 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000851/15.75, allocations: 429.6 kB / 5.841 GB, free: 176.6 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/15.75, allocations: 0 / 5.841 GB, free: 176.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001434/15.75, allocations: 0.9148 MB / 5.842 GB, free: 176.5 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/15.75, allocations: 3.719 kB / 5.842 GB, free: 176.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/15.75, allocations: 3.812 kB / 5.842 GB, free: 176.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/15.75, allocations: 9.688 kB / 5.842 GB, free: 176.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/15.76, allocations: 132.1 kB / 5.842 GB, free: 176.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/15.76, allocations: 7.406 kB / 5.842 GB, free: 176.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006027/15.76, allocations: 47.27 kB / 5.842 GB, free: 176.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/15.76, allocations: 62.06 kB / 5.842 GB, free: 176.5 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.0001455/15.76, allocations: 129.4 kB / 5.842 GB, free: 176.4 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/15.76, allocations: 135.5 kB / 5.843 GB, free: 176.3 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/15.76, allocations: 0.9826 MB / 5.844 GB, free: 176.3 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/15.76, allocations: 7.531 kB / 5.844 GB, free: 176.3 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/15.76, allocations: 7.781 kB / 5.844 GB, free: 176.3 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/15.76, allocations: 7.438 kB / 5.844 GB, free: 176.3 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009534/15.77, allocations: 8.253 MB / 5.852 GB, free: 173.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/15.77, allocations: 18.25 kB / 5.852 GB, free: 173.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004018/15.77, allocations: 138.2 kB / 5.852 GB, free: 173.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-05/15.77, allocations: 24.91 kB / 5.852 GB, free: 173.9 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/15.77, allocations: 31.09 kB / 5.852 GB, free: 173.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.778e-05/15.77, allocations: 28.61 kB / 5.852 GB, free: 173.9 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.52e-05/15.77, allocations: 26.25 kB / 5.852 GB, free: 173.9 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/15.77, allocations: 2.509 MB / 5.854 GB, free: 171.9 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/15.77, allocations: 316.8 kB / 5.855 GB, free: 171.8 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/15.77, allocations: 28 kB / 5.855 GB, free: 171.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/15.77, allocations: 32.53 kB / 5.855 GB, free: 171.8 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/15.77, allocations: 105.8 kB / 5.855 GB, free: 171.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-05/15.77, allocations: 52.38 kB / 5.855 GB, free: 171.8 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.0007135/15.77, allocations: 0.6026 MB / 5.855 GB, free: 171.6 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.3e-07/15.77, allocations: 0 / 5.855 GB, free: 171.6 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.002814/15.78, allocations: 0.7214 MB / 5.856 GB, free: 171.6 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.004965/15.78, allocations: 3.123 MB / 5.859 GB, free: 170.8 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.001163/15.78, allocations: 0.7572 MB / 5.86 GB, free: 170.8 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/15.78, allocations: 7.312 kB / 5.86 GB, free: 170.8 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004754/15.78, allocations: 452.1 kB / 5.86 GB, free: 170.8 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003662/15.79, allocations: 0.7634 MB / 5.861 GB, free: 170.8 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/15.79, allocations: 2.389 MB / 5.863 GB, free: 169.7 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008753/15.79, allocations: 1.441 MB / 5.865 GB, free: 169 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.001103/15.79, allocations: 375.3 kB / 5.865 GB, free: 169 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/15.79, allocations: 91.77 kB / 5.865 GB, free: 169 MB / 1.198 GB Notification: Performance of SimCode: time 1.894e-06/15.79, allocations: 0 / 5.865 GB, free: 169 MB / 1.198 GB Notification: Performance of Templates: time 0.06072/15.85, allocations: 38.11 MB / 5.902 GB, free: 167.9 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