Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.007611/0.007611, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001848/0.001848, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.537/2.537, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 65.48 kB / 0.9508 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3228, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.9578/1.281, allocations: 214.1 MB / 1.297 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02125/1.302, allocations: 12.16 MB / 1.309 GB, free: 3.164 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002881/1.305, allocations: 43 kB / 1.309 GB, free: 3.164 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002126/1.307, allocations: 0.5059 MB / 1.309 GB, free: 3.16 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007077/1.314, allocations: 1.883 MB / 1.311 GB, free: 3.09 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006421/1.321, allocations: 1.899 MB / 1.313 GB, free: 3.039 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004963/1.326, allocations: 2.38 MB / 1.315 GB, free: 3.027 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002185/1.328, allocations: 1.213 MB / 1.317 GB, free: 2.891 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/1.33, allocations: 0.8249 MB / 1.317 GB, free: 2.891 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/1.331, allocations: 0.6639 MB / 1.318 GB, free: 2.883 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001623/1.331, allocations: 89.22 kB / 1.318 GB, free: 2.883 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006743/1.338, allocations: 2.695 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007558/1.339, allocations: 0.533 MB / 1.321 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/1.34, allocations: 0.7307 MB / 1.322 GB, free: 2.59 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008347/1.348, allocations: 3.085 MB / 1.325 GB, free: 2.254 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/1.348, allocations: 4.156 kB / 1.325 GB, free: 2.254 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.863e-06/1.348, allocations: 4.781 kB / 1.325 GB, free: 2.25 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.926e-05/1.348, allocations: 0 / 1.325 GB, free: 2.25 MB / 1.014 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.003616/1.352, allocations: 1.732 MB / 1.327 GB, free: 1.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/1.352, allocations: 10.16 kB / 1.327 GB, free: 1.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/1.354, allocations: 368.5 kB / 1.327 GB, free: 1.242 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/1.356, allocations: 0.956 MB / 1.328 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.323e-05/1.356, allocations: 77.09 kB / 1.328 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/1.356, allocations: 100.6 kB / 1.328 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/1.359, allocations: 1.508 MB / 1.33 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/1.359, allocations: 2.438 kB / 1.33 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/1.359, allocations: 50.56 kB / 1.33 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.512e-05/1.359, allocations: 61.53 kB / 1.33 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/1.361, allocations: 1.013 MB / 1.331 GB, free: 0.5938 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.00675/1.367, allocations: 5.815 MB / 1.336 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006097/1.368, allocations: 325.9 kB / 1.337 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/1.368, allocations: 248.3 kB / 1.337 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007124/1.369, allocations: 0.7038 MB / 1.338 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/1.369, allocations: 45.31 kB / 1.338 GB, free: 12.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 2.905e-06/1.369, allocations: 2.094 kB / 1.338 GB, free: 12.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.001443/1.37, allocations: 0.6689 MB / 1.338 GB, free: 12.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.998e-05/1.371, allocations: 137.5 kB / 1.338 GB, free: 11.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/1.373, allocations: 1.663 MB / 1.34 GB, free: 11.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.647e-05/1.373, allocations: 34.11 kB / 1.34 GB, free: 11.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004597/1.373, allocations: 0.5464 MB / 1.341 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.44e-05/1.373, allocations: 100.1 kB / 1.341 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/1.373, allocations: 66.03 kB / 1.341 GB, free: 11.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000112/1.374, allocations: 316.3 kB / 1.341 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/1.374, allocations: 164.2 kB / 1.341 GB, free: 11.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/1.374, allocations: 289.5 kB / 1.342 GB, free: 10.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005054/1.375, allocations: 442.5 kB / 1.342 GB, free: 10.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.375, allocations: 0 / 1.342 GB, free: 10.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008476/1.375, allocations: 0.5662 MB / 1.343 GB, free: 10.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.375, allocations: 5.594 kB / 1.343 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.375, allocations: 2.531 kB / 1.343 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/1.375, allocations: 5.719 kB / 1.343 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/1.376, allocations: 61.05 kB / 1.343 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.376, allocations: 6.188 kB / 1.343 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007504/1.376, allocations: 112.9 kB / 1.343 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/1.377, allocations: 15.69 kB / 1.343 GB, free: 10.39 MB / 1.029 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.0005107/1.377, allocations: 376.9 kB / 1.343 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/1.377, allocations: 142.4 kB / 1.343 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005577/1.378, allocations: 387.6 kB / 1.344 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/1.378, allocations: 7.375 kB / 1.344 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.378, allocations: 0 / 1.344 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.378, allocations: 2.469 kB / 1.344 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/1.381, allocations: 2.511 MB / 1.346 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.381, allocations: 6.031 kB / 1.346 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/1.382, allocations: 55.45 kB / 1.346 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/1.382, allocations: 7.812 kB / 1.346 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/1.382, allocations: 12 kB / 1.346 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.516e-05/1.382, allocations: 11.22 kB / 1.346 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/1.382, allocations: 10.44 kB / 1.346 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007546/1.382, allocations: 0.6205 MB / 1.347 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000634/1.383, allocations: 292.2 kB / 1.347 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/1.383, allocations: 13.72 kB / 1.347 GB, free: 7.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/1.384, allocations: 12.44 kB / 1.347 GB, free: 7.727 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/1.384, allocations: 41.06 kB / 1.347 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.661e-05/1.384, allocations: 13.34 kB / 1.347 GB, free: 7.711 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00168/1.385, allocations: 1.208 MB / 1.348 GB, free: 7.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.385, allocations: 4 kB / 1.348 GB, free: 7.266 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001659/1.387, allocations: 326.6 kB / 1.349 GB, free: 7.215 MB / 1.029 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.001688/1.389, allocations: 0.6097 MB / 1.349 GB, free: 7.008 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006649/1.389, allocations: 358.1 kB / 1.35 GB, free: 6.914 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.389, allocations: 0.5 kB / 1.35 GB, free: 6.914 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/1.39, allocations: 161.3 kB / 1.35 GB, free: 6.875 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003827/1.393, allocations: 0.9228 MB / 1.351 GB, free: 6.602 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/1.397, allocations: 2.073 MB / 1.353 GB, free: 5.457 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008046/1.397, allocations: 1.207 MB / 1.354 GB, free: 4.676 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000897/1.398, allocations: 285.4 kB / 1.354 GB, free: 4.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/1.399, allocations: 84.89 kB / 1.354 GB, free: 4.617 MB / 1.029 GB Notification: Performance of SimCode: time 1.252e-06/1.399, allocations: 0 / 1.354 GB, free: 4.617 MB / 1.029 GB Notification: Performance of Templates: time 0.05191/1.45, allocations: 30.88 MB / 1.384 GB, free: 7.742 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches