Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.BoundaryWithXi_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_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithXi_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_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.001436, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 194.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437 MB / 0.7103 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.89 kB / 0.8692 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.74/0.7414, allocations: 151.6 MB / 1.017 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2509/0.9924, allocations: 214.1 MB / 1.226 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01505/1.007, allocations: 12.18 MB / 1.238 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/1.009, allocations: 43.69 kB / 1.238 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/1.01, allocations: 0.5041 MB / 1.239 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004665/1.015, allocations: 1.871 MB / 1.241 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004648/1.02, allocations: 1.906 MB / 1.242 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002683/1.022, allocations: 2.36 MB / 1.245 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/1.024, allocations: 1.205 MB / 1.246 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/1.025, allocations: 0.825 MB / 1.247 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007417/1.026, allocations: 0.6534 MB / 1.247 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/1.026, allocations: 88 kB / 1.247 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005008/1.031, allocations: 2.843 MB / 1.25 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004605/1.031, allocations: 0.5415 MB / 1.251 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006898/1.032, allocations: 0.7308 MB / 1.251 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6873/1.719, allocations: 3.119 MB / 1.254 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/1.72, allocations: 0 / 1.254 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.707e-06/1.72, allocations: 0.9062 kB / 1.255 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.307e-05/1.72, allocations: 0 / 1.255 GB, free: 10.44 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.004473/1.724, allocations: 1.723 MB / 1.256 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/1.724, allocations: 9.984 kB / 1.256 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/1.726, allocations: 373.2 kB / 1.257 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/1.728, allocations: 0.89 MB / 1.257 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/1.728, allocations: 77.67 kB / 1.257 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/1.729, allocations: 102.1 kB / 1.258 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/1.731, allocations: 1.508 MB / 1.259 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/1.731, allocations: 7.047 kB / 1.259 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/1.732, allocations: 48.38 kB / 1.259 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/1.732, allocations: 63.34 kB / 1.259 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/1.733, allocations: 1.014 MB / 1.26 GB, free: 8.961 MB / 0.9981 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.007552/1.741, allocations: 5.93 MB / 1.266 GB, free: 21.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006116/1.742, allocations: 322.2 kB / 1.266 GB, free: 21.42 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/1.742, allocations: 249.2 kB / 1.267 GB, free: 21.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006583/1.743, allocations: 0.7099 MB / 1.267 GB, free: 20.64 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/1.743, allocations: 42.64 kB / 1.267 GB, free: 20.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.755e-06/1.743, allocations: 7.156 kB / 1.267 GB, free: 20.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001694/1.744, allocations: 0.6687 MB / 1.268 GB, free: 20.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/1.744, allocations: 135.6 kB / 1.268 GB, free: 20.33 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003015/1.747, allocations: 1.655 MB / 1.27 GB, free: 20.17 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.139e-05/1.748, allocations: 32.75 kB / 1.27 GB, free: 20.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005446/1.748, allocations: 0.5539 MB / 1.27 GB, free: 20.02 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.924e-05/1.748, allocations: 93.08 kB / 1.27 GB, free: 19.96 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/1.748, allocations: 73.19 kB / 1.27 GB, free: 19.95 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.748, allocations: 316.2 kB / 1.271 GB, free: 19.64 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/1.749, allocations: 162.2 kB / 1.271 GB, free: 19.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/1.749, allocations: 291.8 kB / 1.271 GB, free: 19.54 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005304/1.75, allocations: 433.8 kB / 1.272 GB, free: 19.45 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.75, allocations: 1.062 kB / 1.272 GB, free: 19.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009189/1.751, allocations: 0.5624 MB / 1.272 GB, free: 19.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/1.751, allocations: 7.125 kB / 1.272 GB, free: 19.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.751, allocations: 3.438 kB / 1.272 GB, free: 19.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.751, allocations: 4.484 kB / 1.272 GB, free: 19.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/1.751, allocations: 61.94 kB / 1.272 GB, free: 19.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/1.751, allocations: 5.953 kB / 1.272 GB, free: 19.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007689/1.752, allocations: 109.9 kB / 1.272 GB, free: 19.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/1.752, allocations: 25.78 kB / 1.272 GB, free: 19.27 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004832/1.752, allocations: 374.5 kB / 1.273 GB, free: 19.15 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/1.752, allocations: 142.1 kB / 1.273 GB, free: 19.07 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005746/1.753, allocations: 381.7 kB / 1.273 GB, free: 19 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.753, allocations: 5.125 kB / 1.273 GB, free: 19 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.753, allocations: 1.062 kB / 1.273 GB, free: 19 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.753, allocations: 3.328 kB / 1.273 GB, free: 19 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003878/1.757, allocations: 2.609 MB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/1.757, allocations: 6.922 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/1.757, allocations: 50.19 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/1.757, allocations: 9.625 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/1.757, allocations: 12.31 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/1.757, allocations: 13.06 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/1.757, allocations: 10.39 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006624/1.758, allocations: 0.6182 MB / 1.276 GB, free: 17.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/1.758, allocations: 295 kB / 1.277 GB, free: 17.51 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/1.759, allocations: 15.56 kB / 1.277 GB, free: 17.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/1.759, allocations: 11.53 kB / 1.277 GB, free: 17.51 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/1.759, allocations: 37.31 kB / 1.277 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.978e-05/1.759, allocations: 18.47 kB / 1.277 GB, free: 17.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001552/1.761, allocations: 1.204 MB / 1.278 GB, free: 17.39 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.761, allocations: 2.281 kB / 1.278 GB, free: 17.39 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001131/1.762, allocations: 339.2 kB / 1.278 GB, free: 17.36 MB / 1.014 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001675/1.763, allocations: 0.6268 MB / 1.279 GB, free: 17.22 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005931/1.764, allocations: 363.2 kB / 1.279 GB, free: 17.22 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.764, allocations: 1.188 kB / 1.279 GB, free: 17.22 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/1.764, allocations: 156.8 kB / 1.279 GB, free: 17.22 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00391/1.768, allocations: 0.9263 MB / 1.28 GB, free: 17.09 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/1.771, allocations: 2.107 MB / 1.282 GB, free: 16.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007738/1.772, allocations: 1.203 MB / 1.284 GB, free: 15.48 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001112/1.773, allocations: 300.5 kB / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/1.773, allocations: 79.97 kB / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of SimCode: time 1.453e-06/1.773, allocations: 0 / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of Templates: time 0.04579/1.819, allocations: 30.2 MB / 1.313 GB, free: 12.63 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches