Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.00203/0.00203, 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.00228/0.00228, allocations: 195.2 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.548/1.548, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.895/2.895, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 0.8692 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7051/0.7071, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2611/0.9683, allocations: 214.1 MB / 1.226 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01829/0.9866, allocations: 12.17 MB / 1.238 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.9886, allocations: 51.62 kB / 1.238 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.9901, allocations: 0.508 MB / 1.239 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005365/0.9955, allocations: 1.867 MB / 1.241 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005335/1.001, allocations: 1.906 MB / 1.242 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003656/1.005, allocations: 2.332 MB / 1.245 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001991/1.007, allocations: 1.236 MB / 1.246 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001781/1.008, allocations: 0.8288 MB / 1.247 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009901/1.009, allocations: 0.6574 MB / 1.247 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000177/1.01, allocations: 88 kB / 1.247 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00698/1.017, allocations: 2.848 MB / 1.25 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000861/1.017, allocations: 0.5376 MB / 1.251 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/1.019, allocations: 0.7425 MB / 1.252 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6656/1.684, allocations: 3.128 MB / 1.255 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.684, allocations: 0.75 kB / 1.255 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.355e-06/1.684, allocations: 1.312 kB / 1.255 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001017/1.684, allocations: 0.5 kB / 1.255 GB, free: 10.43 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.005058/1.689, allocations: 1.749 MB / 1.256 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/1.69, allocations: 10.03 kB / 1.256 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002475/1.692, allocations: 371.9 kB / 1.257 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/1.694, allocations: 0.8971 MB / 1.258 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-05/1.694, allocations: 76.94 kB / 1.258 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/1.694, allocations: 100.7 kB / 1.258 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00287/1.697, allocations: 1.534 MB / 1.259 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/1.697, allocations: 5.688 kB / 1.259 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/1.697, allocations: 47.78 kB / 1.259 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.617e-05/1.697, allocations: 61.33 kB / 1.259 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/1.699, allocations: 1.019 MB / 1.26 GB, free: 8.934 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.00755/1.707, allocations: 5.966 MB / 1.266 GB, free: 21.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006247/1.707, allocations: 325.8 kB / 1.266 GB, free: 21.38 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/1.708, allocations: 252 kB / 1.267 GB, free: 21.35 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007718/1.708, allocations: 0.7088 MB / 1.267 GB, free: 20.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/1.709, allocations: 44.97 kB / 1.267 GB, free: 20.56 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.284e-06/1.709, allocations: 0 / 1.267 GB, free: 20.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001801/1.71, allocations: 0.6653 MB / 1.268 GB, free: 20.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.857e-05/1.71, allocations: 133.6 kB / 1.268 GB, free: 20.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003306/1.714, allocations: 1.684 MB / 1.27 GB, free: 20.14 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.316e-05/1.714, allocations: 32.59 kB / 1.27 GB, free: 20.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005441/1.714, allocations: 0.5574 MB / 1.27 GB, free: 20 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.966e-05/1.715, allocations: 96.48 kB / 1.27 GB, free: 19.94 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/1.715, allocations: 68.81 kB / 1.271 GB, free: 19.92 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.715, allocations: 316.7 kB / 1.271 GB, free: 19.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/1.715, allocations: 158.3 kB / 1.271 GB, free: 19.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/1.715, allocations: 267.8 kB / 1.271 GB, free: 19.54 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/1.716, allocations: 414.1 kB / 1.272 GB, free: 19.45 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.716, allocations: 1.875 kB / 1.272 GB, free: 19.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009088/1.717, allocations: 0.5393 MB / 1.272 GB, free: 19.35 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/1.717, allocations: 5.906 kB / 1.272 GB, free: 19.35 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.717, allocations: 5.297 kB / 1.272 GB, free: 19.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/1.717, allocations: 3.344 kB / 1.272 GB, free: 19.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/1.717, allocations: 56.78 kB / 1.272 GB, free: 19.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/1.717, allocations: 6.797 kB / 1.272 GB, free: 19.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007675/1.718, allocations: 109.2 kB / 1.272 GB, free: 19.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/1.718, allocations: 21.44 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005963/1.719, allocations: 382.5 kB / 1.273 GB, free: 19.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/1.719, allocations: 139.2 kB / 1.273 GB, free: 19.08 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006181/1.72, allocations: 384 kB / 1.273 GB, free: 19 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.72, allocations: 4.219 kB / 1.273 GB, free: 19 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/1.72, allocations: 3.828 kB / 1.273 GB, free: 19 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.72, allocations: 0.9844 kB / 1.273 GB, free: 19 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004238/1.724, allocations: 2.616 MB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/1.724, allocations: 6.312 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/1.724, allocations: 57.94 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/1.724, allocations: 7.188 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/1.724, allocations: 14.98 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.249e-05/1.724, allocations: 12.67 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/1.724, allocations: 10 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007433/1.725, allocations: 0.6113 MB / 1.277 GB, free: 17.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005645/1.725, allocations: 297.9 kB / 1.277 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/1.726, allocations: 20.36 kB / 1.277 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/1.726, allocations: 14.69 kB / 1.277 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/1.726, allocations: 41.38 kB / 1.277 GB, free: 17.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/1.726, allocations: 14.81 kB / 1.277 GB, free: 17.49 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001738/1.728, allocations: 1.223 MB / 1.278 GB, free: 17.38 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.728, allocations: 2.094 kB / 1.278 GB, free: 17.38 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001228/1.729, allocations: 332.8 kB / 1.278 GB, free: 17.35 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.001704/1.731, allocations: 0.6252 MB / 1.279 GB, free: 17.22 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00069/1.732, allocations: 353.8 kB / 1.279 GB, free: 17.22 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.732, allocations: 1.812 kB / 1.279 GB, free: 17.22 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/1.732, allocations: 163.9 kB / 1.28 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.004134/1.736, allocations: 0.9178 MB / 1.28 GB, free: 17.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/1.739, allocations: 2.128 MB / 1.282 GB, free: 16.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/1.74, allocations: 1.211 MB / 1.284 GB, free: 15.47 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00117/1.741, allocations: 301.4 kB / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/1.742, allocations: 80.06 kB / 1.284 GB, free: 15.42 MB / 1.014 GB Notification: Performance of SimCode: time 5.71e-07/1.742, allocations: 1 kB / 1.284 GB, free: 15.42 MB / 1.014 GB Notification: Performance of Templates: time 0.04975/1.791, allocations: 30.29 MB / 1.314 GB, free: 12.5 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches