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.0009958/0.0009959, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007585/0.007586, allocations: 170 kB / 16.26 MB, free: 6.613 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.652/2.652, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.00035, allocations: 8 kB / 0.8728 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7266/0.727, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2477/0.9747, allocations: 209.6 MB / 1.228 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01556/0.9903, allocations: 12.13 MB / 1.24 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.9917, allocations: 43.62 kB / 1.24 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.9929, allocations: 401.3 kB / 1.24 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.6854/1.678, allocations: 1.76 MB / 1.242 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00465/1.683, allocations: 1.741 MB / 1.243 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004663/1.688, allocations: 3.062 MB / 1.246 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/1.689, allocations: 0.9975 MB / 1.247 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/1.691, allocations: 0.6801 MB / 1.248 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/1.692, allocations: 0.661 MB / 1.249 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/1.692, allocations: 38.28 kB / 1.249 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008049/1.7, allocations: 3.524 MB / 1.252 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000936/1.701, allocations: 487 kB / 1.253 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001527/1.703, allocations: 0.6712 MB / 1.253 GB, free: 18.79 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007789/1.711, allocations: 3.304 MB / 1.257 GB, free: 18.7 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.711, allocations: 1.094 kB / 1.257 GB, free: 18.7 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.406e-06/1.711, allocations: 0 / 1.257 GB, free: 18.7 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.449e-05/1.711, allocations: 1.75 kB / 1.257 GB, free: 18.7 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.002874/1.714, allocations: 1.436 MB / 1.258 GB, free: 17.81 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/1.714, allocations: 14.03 kB / 1.258 GB, free: 17.81 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/1.716, allocations: 366.3 kB / 1.258 GB, free: 17.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/1.717, allocations: 0.8924 MB / 1.259 GB, free: 17.39 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/1.717, allocations: 76.78 kB / 1.259 GB, free: 17.38 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/1.717, allocations: 100.5 kB / 1.259 GB, free: 17.38 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/1.719, allocations: 1.505 MB / 1.261 GB, free: 17.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/1.719, allocations: 5.281 kB / 1.261 GB, free: 17.09 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/1.72, allocations: 47.72 kB / 1.261 GB, free: 17.09 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.572e-05/1.72, allocations: 60.09 kB / 1.261 GB, free: 17.09 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/1.721, allocations: 1.02 MB / 1.262 GB, free: 17.08 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.006315/1.727, allocations: 5.882 MB / 1.268 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005216/1.728, allocations: 322.8 kB / 1.268 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/1.728, allocations: 246 kB / 1.268 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007439/1.729, allocations: 0.7157 MB / 1.269 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/1.729, allocations: 48.75 kB / 1.269 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 2.234e-06/1.729, allocations: 3.375 kB / 1.269 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.001303/1.73, allocations: 0.6596 MB / 1.27 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/1.73, allocations: 132.6 kB / 1.27 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/1.732, allocations: 1.658 MB / 1.271 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/1.732, allocations: 36.23 kB / 1.271 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/1.733, allocations: 0.5509 MB / 1.272 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.783e-05/1.733, allocations: 99.58 kB / 1.272 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/1.733, allocations: 34.48 kB / 1.272 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.733, allocations: 316.5 kB / 1.272 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/1.733, allocations: 162.6 kB / 1.272 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/1.734, allocations: 289.7 kB / 1.273 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/1.734, allocations: 438.8 kB / 1.273 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.734, allocations: 0 / 1.273 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000673/1.735, allocations: 0.5694 MB / 1.274 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.735, allocations: 3.219 kB / 1.274 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.735, allocations: 3.219 kB / 1.274 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.735, allocations: 6.25 kB / 1.274 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/1.735, allocations: 57 kB / 1.274 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/1.735, allocations: 3.188 kB / 1.274 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007694/1.736, allocations: 109.5 kB / 1.274 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/1.736, allocations: 27.7 kB / 1.274 GB, free: 11.34 MB / 0.9981 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.0004112/1.736, allocations: 376.3 kB / 1.274 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/1.736, allocations: 142 kB / 1.274 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000546/1.737, allocations: 378.5 kB / 1.275 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/1.737, allocations: 3.031 kB / 1.275 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.737, allocations: 4.062 kB / 1.275 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/1.737, allocations: 10.34 kB / 1.275 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003241/1.74, allocations: 2.559 MB / 1.277 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/1.74, allocations: 10.59 kB / 1.277 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/1.74, allocations: 51.78 kB / 1.277 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/1.74, allocations: 5.656 kB / 1.277 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/1.741, allocations: 13.38 kB / 1.277 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.414e-05/1.741, allocations: 16.06 kB / 1.277 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/1.741, allocations: 9.281 kB / 1.277 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007843/1.741, allocations: 0.6142 MB / 1.278 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004579/1.742, allocations: 308.3 kB / 1.278 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/1.742, allocations: 12.5 kB / 1.278 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/1.742, allocations: 24.3 kB / 1.278 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/1.742, allocations: 37.78 kB / 1.278 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/1.743, allocations: 17.78 kB / 1.278 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001626/1.744, allocations: 1.208 MB / 1.28 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.744, allocations: 0 / 1.28 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001467/1.746, allocations: 335.9 kB / 1.28 GB, free: 9.395 MB / 0.9981 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.001758/1.747, allocations: 0.6198 MB / 1.28 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005127/1.748, allocations: 349.8 kB / 1.281 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.748, allocations: 0 / 1.281 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/1.748, allocations: 163.6 kB / 1.281 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004913/1.753, allocations: 0.8672 MB / 1.282 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/1.756, allocations: 2.418 MB / 1.284 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007949/1.757, allocations: 1.2 MB / 1.285 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000979/1.758, allocations: 308.3 kB / 1.286 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/1.758, allocations: 83.66 kB / 1.286 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/1.758, allocations: 0 / 1.286 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of Templates: time 0.0469/1.805, allocations: 29.05 MB / 1.314 GB, free: 15.04 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