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/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.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/Buildings 10.0.0-master/package.mo): time 2.178/2.178, allocations: 390.5 MB / 398 MB, free: 10.91 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.001314/0.001314, allocations: 179.8 kB / 491.2 MB, free: 1.559 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.676/1.676, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001021/0.001021, allocations: 87.95 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.448e-05/2.395e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.309, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.029/7.338, allocations: 2.542 GB / 3.754 GB, free: 276.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/7.338, allocations: 91.94 kB / 3.754 GB, free: 276.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.43/12.77, allocations: 1.404 GB / 5.159 GB, free: 190 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.595e-06/12.77, allocations: 0 / 5.159 GB, free: 190 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001045/12.77, allocations: 39.98 kB / 5.159 GB, free: 189.9 MB / 1.167 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.002534/12.77, allocations: 1.31 MB / 5.16 GB, free: 188.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/12.77, allocations: 8.562 kB / 5.16 GB, free: 188.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/12.77, allocations: 345.9 kB / 5.16 GB, free: 188.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/12.77, allocations: 0.923 MB / 5.161 GB, free: 187.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/12.77, allocations: 35.95 kB / 5.161 GB, free: 187.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/12.77, allocations: 64 kB / 5.161 GB, free: 187.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001224/12.78, allocations: 0.8397 MB / 5.162 GB, free: 186.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/12.78, allocations: 1.257 MB / 5.163 GB, free: 185 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/12.78, allocations: 3.938 kB / 5.163 GB, free: 185 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.25e-05/12.78, allocations: 4 kB / 5.163 GB, free: 185 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.252e-05/12.78, allocations: 45.86 kB / 5.163 GB, free: 184.9 MB / 1.167 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.004308/12.78, allocations: 4.945 MB / 5.168 GB, free: 179.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/12.78, allocations: 253.1 kB / 5.168 GB, free: 179.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/12.78, allocations: 213 kB / 5.169 GB, free: 179.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000755/12.78, allocations: 0.8938 MB / 5.169 GB, free: 178.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/12.78, allocations: 42.5 kB / 5.169 GB, free: 178.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=28): time 2.775e-06/12.78, allocations: 0 / 5.169 GB, free: 178.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=28): time 0.001337/12.78, allocations: 0.4925 MB / 5.17 GB, free: 177.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/12.78, allocations: 81.11 kB / 5.17 GB, free: 177.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005879/12.79, allocations: 0.5505 MB / 5.171 GB, free: 177 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/12.79, allocations: 25.7 kB / 5.171 GB, free: 176.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000288/12.79, allocations: 0.5962 MB / 5.171 GB, free: 176.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.742e-05/12.79, allocations: 94.53 kB / 5.171 GB, free: 176.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/12.79, allocations: 0 / 5.171 GB, free: 176.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.726e-05/12.79, allocations: 322 kB / 5.172 GB, free: 175.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/12.79, allocations: 139.9 kB / 5.172 GB, free: 175.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/12.79, allocations: 283.3 kB / 5.172 GB, free: 175.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/12.79, allocations: 211.7 kB / 5.172 GB, free: 175.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/12.79, allocations: 0 / 5.172 GB, free: 175.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000634/12.79, allocations: 476.3 kB / 5.173 GB, free: 174.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/12.79, allocations: 11.95 kB / 5.173 GB, free: 174.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/12.79, allocations: 4 kB / 5.173 GB, free: 174.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/12.79, allocations: 4 kB / 5.173 GB, free: 174.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/12.79, allocations: 55.91 kB / 5.173 GB, free: 174.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/12.79, allocations: 4 kB / 5.173 GB, free: 174.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/12.79, allocations: 27.94 kB / 5.173 GB, free: 174.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/12.79, allocations: 27.98 kB / 5.173 GB, free: 174.6 MB / 1.167 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 () * 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.0001301/12.79, allocations: 112.9 kB / 5.173 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/12.79, allocations: 75.06 kB / 5.173 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004366/12.79, allocations: 298 kB / 5.173 GB, free: 174.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/12.79, allocations: 11.94 kB / 5.173 GB, free: 174.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/12.79, allocations: 0 / 5.173 GB, free: 174.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/12.79, allocations: 7.938 kB / 5.173 GB, free: 174.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002565/12.79, allocations: 2.312 MB / 5.175 GB, free: 171.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/12.79, allocations: 4 kB / 5.175 GB, free: 171.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/12.79, allocations: 55.94 kB / 5.176 GB, free: 171.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/12.79, allocations: 12.2 kB / 5.176 GB, free: 171.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/12.79, allocations: 8 kB / 5.176 GB, free: 171.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/12.79, allocations: 15.94 kB / 5.176 GB, free: 171.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/12.79, allocations: 11.94 kB / 5.176 GB, free: 171.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006013/12.79, allocations: 0.8344 MB / 5.176 GB, free: 170.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/12.79, allocations: 204 kB / 5.177 GB, free: 170.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.461e-05/12.79, allocations: 8 kB / 5.177 GB, free: 170.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/12.79, allocations: 15.84 kB / 5.177 GB, free: 170.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/12.79, allocations: 39.86 kB / 5.177 GB, free: 170.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/12.79, allocations: 20 kB / 5.177 GB, free: 170.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004271/12.79, allocations: 463.1 kB / 5.177 GB, free: 169.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/12.79, allocations: 0 / 5.177 GB, free: 169.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001795/12.8, allocations: 0.4985 MB / 5.178 GB, free: 169.2 MB / 1.167 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 () * 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.003745/12.8, allocations: 2.37 MB / 5.18 GB, free: 166.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004441/12.8, allocations: 315.6 kB / 5.18 GB, free: 166.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/12.8, allocations: 4 kB / 5.18 GB, free: 166.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/12.8, allocations: 149.2 kB / 5.18 GB, free: 166.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/12.8, allocations: 441.2 kB / 5.181 GB, free: 165.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/12.8, allocations: 1.452 MB / 5.182 GB, free: 164.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008252/12.81, allocations: 1.249 MB / 5.183 GB, free: 163 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006375/12.81, allocations: 173.1 kB / 5.184 GB, free: 162.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/12.81, allocations: 47.44 kB / 5.184 GB, free: 162.8 MB / 1.167 GB Notification: Performance of SimCode: time 7.41e-07/12.81, allocations: 0 / 5.184 GB, free: 162.8 MB / 1.167 GB Notification: Performance of Templates: time 0.04429/12.85, allocations: 25.21 MB / 5.208 GB, free: 137.7 MB / 1.167 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