Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_9_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_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009766/0.0009766, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.362/2.362, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 12 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7487/0.7491, allocations: 142.3 MB / 0.9535 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.181/0.9301, allocations: 171.4 MB / 1.121 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01365/0.9438, allocations: 10.57 MB / 1.131 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002399/0.9462, allocations: 39.62 kB / 1.131 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002636/0.9489, allocations: 0.6104 MB / 1.132 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00453/0.9534, allocations: 1.457 MB / 1.133 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004481/0.9579, allocations: 1.665 MB / 1.135 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002672/0.9606, allocations: 1.34 MB / 1.136 GB, free: 4.629 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.9619, allocations: 0.9294 MB / 1.137 GB, free: 3.688 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.963, allocations: 0.5955 MB / 1.138 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005003/0.9635, allocations: 442 kB / 1.138 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.544e-05/0.9636, allocations: 39.94 kB / 1.138 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003941/0.9676, allocations: 1.681 MB / 1.14 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004328/0.968, allocations: 458.8 kB / 1.14 GB, free: 496 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002964/0.9683, allocations: 309 kB / 1.141 GB, free: 180 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002886/0.9712, allocations: 2.097 MB / 1.143 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.9712, allocations: 0 / 1.143 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9712, allocations: 0 / 1.143 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.107e-05/0.9713, allocations: 0 / 1.143 GB, free: 14.07 MB / 0.9044 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.001981/0.9732, allocations: 1.437 MB / 1.144 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.9733, allocations: 12.03 kB / 1.144 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.9749, allocations: 369.8 kB / 1.144 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.9763, allocations: 0.8651 MB / 1.145 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.9765, allocations: 78.06 kB / 1.145 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.9766, allocations: 104 kB / 1.145 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.9786, allocations: 1.517 MB / 1.147 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.9787, allocations: 11.89 kB / 1.147 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.363e-05/0.9788, allocations: 44 kB / 1.147 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.749e-05/0.9788, allocations: 61.48 kB / 1.147 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.9802, allocations: 1.017 MB / 1.148 GB, free: 8.359 MB / 0.9044 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.005821/0.986, allocations: 5.852 MB / 1.154 GB, free: 2.191 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005297/0.9865, allocations: 310.2 kB / 1.154 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00035/0.9869, allocations: 368.4 kB / 1.154 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.9869, allocations: 42.5 kB / 1.154 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 2.365e-06/0.987, allocations: 0 / 1.154 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.001249/0.9882, allocations: 0.6562 MB / 1.155 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.9883, allocations: 148.5 kB / 1.155 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.9902, allocations: 1.667 MB / 1.157 GB, free: 14.85 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.854e-05/0.9903, allocations: 33.7 kB / 1.157 GB, free: 14.81 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004656/0.9907, allocations: 0.5621 MB / 1.157 GB, free: 14.24 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.655e-05/0.9908, allocations: 98.56 kB / 1.157 GB, free: 14.15 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.483e-05/0.9909, allocations: 4 kB / 1.157 GB, free: 14.14 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.991, allocations: 318 kB / 1.158 GB, free: 13.83 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.9912, allocations: 155.9 kB / 1.158 GB, free: 13.68 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.9914, allocations: 260.5 kB / 1.158 GB, free: 13.39 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.9917, allocations: 196.4 kB / 1.158 GB, free: 13.2 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.9917, allocations: 0 / 1.158 GB, free: 13.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007544/0.9925, allocations: 0.5463 MB / 1.159 GB, free: 12.64 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.9925, allocations: 4 kB / 1.159 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.9925, allocations: 7.984 kB / 1.159 GB, free: 12.63 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.9926, allocations: 4 kB / 1.159 GB, free: 12.63 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.9928, allocations: 56.11 kB / 1.159 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.9928, allocations: 4 kB / 1.159 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/0.9934, allocations: 110.6 kB / 1.159 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.9935, allocations: 23.95 kB / 1.159 GB, free: 12.44 MB / 0.92 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 () * Number of clocked 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.0004642/0.9939, allocations: 378.8 kB / 1.159 GB, free: 12.06 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.9941, allocations: 142.2 kB / 1.16 GB, free: 11.92 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005499/0.9947, allocations: 385.1 kB / 1.16 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.9947, allocations: 7.984 kB / 1.16 GB, free: 11.51 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.9947, allocations: 4 kB / 1.16 GB, free: 11.51 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.9947, allocations: 4 kB / 1.16 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.9979, allocations: 2.497 MB / 1.162 GB, free: 8.828 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/0.998, allocations: 8 kB / 1.162 GB, free: 8.82 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.9982, allocations: 55.84 kB / 1.162 GB, free: 8.766 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.9982, allocations: 8 kB / 1.162 GB, free: 8.758 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.9982, allocations: 16 kB / 1.162 GB, free: 8.742 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.9982, allocations: 8 kB / 1.162 GB, free: 8.734 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/0.9982, allocations: 12.36 kB / 1.163 GB, free: 8.723 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000816/0.9991, allocations: 0.9945 MB / 1.163 GB, free: 7.465 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005127/0.9996, allocations: 307.1 kB / 1.164 GB, free: 7.145 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.9998, allocations: 15.98 kB / 1.164 GB, free: 7.129 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/1, allocations: 19.94 kB / 1.164 GB, free: 7.109 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/1, allocations: 39.8 kB / 1.164 GB, free: 7.07 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/1, allocations: 16 kB / 1.164 GB, free: 7.055 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00144/1.002, allocations: 1.199 MB / 1.165 GB, free: 5.859 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/1.002, allocations: 0 / 1.165 GB, free: 5.859 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009843/1.003, allocations: 327.7 kB / 1.165 GB, free: 5.539 MB / 0.92 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 () * Number of clocked 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.001252/1.004, allocations: 0.4917 MB / 1.166 GB, free: 5.047 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005628/1.005, allocations: 339.5 kB / 1.166 GB, free: 4.715 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.005, allocations: 0 / 1.166 GB, free: 4.715 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/1.005, allocations: 164.5 kB / 1.166 GB, free: 4.555 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003634/1.008, allocations: 0.8425 MB / 1.167 GB, free: 3.73 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/1.011, allocations: 2.296 MB / 1.169 GB, free: 1.32 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007428/1.012, allocations: 1.247 MB / 1.171 GB, free: 44 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009692/1.013, allocations: 298.9 kB / 1.171 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/1.013, allocations: 79.44 kB / 1.171 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of SimCode: time 5.21e-07/1.013, allocations: 0 / 1.171 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of Templates: time 0.04922/1.062, allocations: 28.41 MB / 1.199 GB, free: 3.59 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches