Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009817/0.0009816, allocations: 99.34 kB / 16.02 MB, free: 76 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.001226/0.001226, allocations: 186.2 kB / 16.92 MB, free: 6.75 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.43/1.43, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.88/2.88, allocations: 462.7 MB / 0.7371 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003493, allocations: 7.938 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3324, allocations: 159.6 MB / 1.059 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.9597/1.292, allocations: 209.6 MB / 1.264 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0225/1.315, allocations: 12.13 MB / 1.276 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00262/1.317, allocations: 46.12 kB / 1.276 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002148/1.32, allocations: 402 kB / 1.276 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007069/1.327, allocations: 1.76 MB / 1.278 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005025/1.332, allocations: 1.735 MB / 1.28 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005808/1.338, allocations: 3.076 MB / 1.283 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/1.34, allocations: 0.9882 MB / 1.284 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/1.342, allocations: 0.6883 MB / 1.284 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/1.343, allocations: 0.6556 MB / 1.285 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001545/1.344, allocations: 36.53 kB / 1.285 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008334/1.352, allocations: 3.521 MB / 1.288 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001089/1.353, allocations: 487.3 kB / 1.289 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001331/1.354, allocations: 0.6751 MB / 1.29 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004814/1.359, allocations: 2.41 MB / 1.292 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/1.359, allocations: 0 / 1.292 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.379e-06/1.359, allocations: 3.938 kB / 1.292 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.284e-05/1.359, allocations: 1 kB / 1.292 GB, free: 2.055 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.003209/1.362, allocations: 1.429 MB / 1.293 GB, free: 17.17 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.363, allocations: 13.69 kB / 1.293 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/1.364, allocations: 377.5 kB / 1.294 GB, free: 17.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/1.366, allocations: 0.8887 MB / 1.295 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.651e-05/1.366, allocations: 77.38 kB / 1.295 GB, free: 16.73 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/1.366, allocations: 100.9 kB / 1.295 GB, free: 16.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/1.368, allocations: 1.504 MB / 1.296 GB, free: 16.44 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/1.368, allocations: 5.688 kB / 1.296 GB, free: 16.44 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.783e-05/1.368, allocations: 52.08 kB / 1.296 GB, free: 16.44 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.682e-05/1.368, allocations: 59.92 kB / 1.296 GB, free: 16.44 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/1.37, allocations: 1.017 MB / 1.297 GB, free: 16.43 MB / 1.014 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.006785/1.377, allocations: 5.886 MB / 1.303 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000576/1.377, allocations: 318.2 kB / 1.303 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/1.378, allocations: 254.8 kB / 1.304 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007566/1.378, allocations: 0.7066 MB / 1.304 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/1.379, allocations: 47.61 kB / 1.304 GB, free: 12.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 3.366e-06/1.379, allocations: 1.156 kB / 1.304 GB, free: 12.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001425/1.38, allocations: 0.6681 MB / 1.305 GB, free: 11.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/1.38, allocations: 138.4 kB / 1.305 GB, free: 11.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/1.382, allocations: 1.657 MB / 1.307 GB, free: 11.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.837e-05/1.382, allocations: 31.58 kB / 1.307 GB, free: 11.56 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004798/1.383, allocations: 0.5487 MB / 1.307 GB, free: 11.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.82e-05/1.383, allocations: 105.4 kB / 1.307 GB, free: 11.38 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/1.383, allocations: 28 kB / 1.307 GB, free: 11.37 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.383, allocations: 315.3 kB / 1.308 GB, free: 11.06 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/1.383, allocations: 162.3 kB / 1.308 GB, free: 11.06 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/1.384, allocations: 296.3 kB / 1.308 GB, free: 10.96 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/1.384, allocations: 425.2 kB / 1.309 GB, free: 10.86 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.384, allocations: 0 / 1.309 GB, free: 10.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009271/1.385, allocations: 0.5601 MB / 1.309 GB, free: 10.76 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/1.385, allocations: 13.69 kB / 1.309 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/1.385, allocations: 3.609 kB / 1.309 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.385, allocations: 4.125 kB / 1.309 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/1.385, allocations: 62.38 kB / 1.309 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/1.385, allocations: 8.734 kB / 1.309 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007969/1.386, allocations: 109.3 kB / 1.309 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/1.386, allocations: 25.77 kB / 1.309 GB, free: 10.67 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.0005136/1.387, allocations: 385.3 kB / 1.31 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/1.387, allocations: 137.5 kB / 1.31 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005612/1.388, allocations: 383.6 kB / 1.31 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.388, allocations: 2.875 kB / 1.31 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.388, allocations: 0 / 1.31 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.388, allocations: 3.141 kB / 1.31 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004334/1.392, allocations: 2.56 MB / 1.313 GB, free: 9.422 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/1.392, allocations: 9.344 kB / 1.313 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/1.392, allocations: 51.05 kB / 1.313 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/1.392, allocations: 7.875 kB / 1.313 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/1.392, allocations: 12.12 kB / 1.313 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.481e-05/1.392, allocations: 13.09 kB / 1.313 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.557e-06/1.392, allocations: 9.562 kB / 1.313 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008305/1.393, allocations: 0.6263 MB / 1.313 GB, free: 9.059 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006294/1.394, allocations: 304 kB / 1.314 GB, free: 8.887 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/1.394, allocations: 13.5 kB / 1.314 GB, free: 8.887 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003931/1.394, allocations: 24.19 kB / 1.314 GB, free: 8.879 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/1.394, allocations: 37.58 kB / 1.314 GB, free: 8.871 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/1.395, allocations: 18.69 kB / 1.314 GB, free: 8.871 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001546/1.396, allocations: 1.209 MB / 1.315 GB, free: 8.758 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/1.396, allocations: 0 / 1.315 GB, free: 8.758 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001446/1.398, allocations: 340.7 kB / 1.315 GB, free: 8.719 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.00179/1.399, allocations: 0.6211 MB / 1.316 GB, free: 8.527 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005568/1.4, allocations: 345.1 kB / 1.316 GB, free: 8.527 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.4, allocations: 3.938 kB / 1.316 GB, free: 8.523 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/1.4, allocations: 165 kB / 1.316 GB, free: 8.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005362/1.405, allocations: 0.8778 MB / 1.317 GB, free: 8.438 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/1.409, allocations: 2.484 MB / 1.32 GB, free: 7.148 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007389/1.41, allocations: 1.191 MB / 1.321 GB, free: 6.438 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/1.41, allocations: 82.53 kB / 1.321 GB, free: 6.43 MB / 1.014 GB Notification: Performance of SimCode: time 8.71e-07/1.41, allocations: 0 / 1.321 GB, free: 6.43 MB / 1.014 GB Notification: Performance of Templates: time 0.03811/1.448, allocations: 24.52 MB / 1.345 GB, free: 14.38 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches