Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.0009788/0.0009787, allocations: 98.72 kB / 16.02 MB, free: 72 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.001169/0.001169, allocations: 180.3 kB / 16.92 MB, free: 6.918 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.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.833/2.833, allocations: 462.7 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.000403, allocations: 9.25 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3648, allocations: 159.6 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.9185/1.283, allocations: 209.6 MB / 1.264 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01465/1.298, allocations: 12.13 MB / 1.276 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/1.3, allocations: 47.14 kB / 1.276 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/1.301, allocations: 409.8 kB / 1.276 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004839/1.306, allocations: 1.756 MB / 1.278 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004962/1.311, allocations: 1.735 MB / 1.28 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006666/1.318, allocations: 3.049 MB / 1.283 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002455/1.32, allocations: 1.021 MB / 1.284 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002442/1.323, allocations: 0.6786 MB / 1.284 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/1.325, allocations: 0.6608 MB / 1.285 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001906/1.325, allocations: 36.41 kB / 1.285 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008583/1.333, allocations: 3.515 MB / 1.288 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009402/1.334, allocations: 489.8 kB / 1.289 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/1.336, allocations: 0.6744 MB / 1.29 GB, free: 18.19 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0048/1.341, allocations: 2.426 MB / 1.292 GB, free: 18.04 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/1.341, allocations: 1.031 kB / 1.292 GB, free: 18.04 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.044e-06/1.341, allocations: 0 / 1.292 GB, free: 18.04 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.597e-05/1.341, allocations: 0 / 1.292 GB, free: 18.04 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003093/1.344, allocations: 1.443 MB / 1.293 GB, free: 17.15 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/1.344, allocations: 12.97 kB / 1.293 GB, free: 17.14 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/1.346, allocations: 379.2 kB / 1.294 GB, free: 17.06 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/1.347, allocations: 0.8937 MB / 1.295 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/1.347, allocations: 78.75 kB / 1.295 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/1.347, allocations: 105 kB / 1.295 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/1.35, allocations: 1.528 MB / 1.296 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/1.35, allocations: 5.562 kB / 1.296 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/1.35, allocations: 45.34 kB / 1.296 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.021e-05/1.35, allocations: 63.8 kB / 1.296 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/1.352, allocations: 1.033 MB / 1.297 GB, free: 16.39 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.00679/1.358, allocations: 5.915 MB / 1.303 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005766/1.359, allocations: 314.7 kB / 1.303 GB, free: 12.81 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/1.359, allocations: 256.4 kB / 1.304 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007371/1.36, allocations: 0.7061 MB / 1.304 GB, free: 12.03 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/1.36, allocations: 42.38 kB / 1.304 GB, free: 11.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.274e-06/1.36, allocations: 2.906 kB / 1.304 GB, free: 11.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.00149/1.362, allocations: 0.6657 MB / 1.305 GB, free: 11.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/1.362, allocations: 131.5 kB / 1.305 GB, free: 11.72 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/1.364, allocations: 1.687 MB / 1.307 GB, free: 11.56 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.428e-05/1.364, allocations: 32.11 kB / 1.307 GB, free: 11.53 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004794/1.365, allocations: 0.5585 MB / 1.307 GB, free: 11.42 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.468e-05/1.365, allocations: 95.77 kB / 1.308 GB, free: 11.36 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-05/1.365, allocations: 27.34 kB / 1.308 GB, free: 11.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001165/1.365, allocations: 318.7 kB / 1.308 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/1.365, allocations: 159.4 kB / 1.308 GB, free: 11.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/1.365, allocations: 268.2 kB / 1.308 GB, free: 10.95 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004861/1.366, allocations: 413.5 kB / 1.309 GB, free: 10.86 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/1.366, allocations: 5.25 kB / 1.309 GB, free: 10.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009293/1.367, allocations: 0.5426 MB / 1.309 GB, free: 10.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/1.367, allocations: 7.188 kB / 1.309 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.367, allocations: 4.297 kB / 1.309 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/1.367, allocations: 6.469 kB / 1.309 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/1.367, allocations: 55.64 kB / 1.309 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.367, allocations: 6 kB / 1.309 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007693/1.368, allocations: 109.6 kB / 1.309 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/1.368, allocations: 25.31 kB / 1.309 GB, free: 10.68 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.0005292/1.369, allocations: 393.4 kB / 1.31 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/1.369, allocations: 134.2 kB / 1.31 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005308/1.369, allocations: 373.3 kB / 1.31 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/1.369, allocations: 3.812 kB / 1.31 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/1.369, allocations: 0 / 1.31 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/1.369, allocations: 4.531 kB / 1.31 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003385/1.373, allocations: 2.572 MB / 1.313 GB, free: 9.426 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.373, allocations: 10.31 kB / 1.313 GB, free: 9.422 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/1.373, allocations: 58.2 kB / 1.313 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/1.373, allocations: 6.938 kB / 1.313 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/1.373, allocations: 11.88 kB / 1.313 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/1.373, allocations: 10.06 kB / 1.313 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/1.373, allocations: 16.45 kB / 1.313 GB, free: 9.414 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007271/1.374, allocations: 0.6216 MB / 1.314 GB, free: 9.059 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/1.374, allocations: 304.5 kB / 1.314 GB, free: 8.887 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/1.374, allocations: 13.12 kB / 1.314 GB, free: 8.887 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/1.375, allocations: 20.72 kB / 1.314 GB, free: 8.883 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/1.375, allocations: 37.09 kB / 1.314 GB, free: 8.875 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/1.375, allocations: 19 kB / 1.314 GB, free: 8.875 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001503/1.376, allocations: 1.223 MB / 1.315 GB, free: 8.766 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.376, allocations: 6.688 kB / 1.315 GB, free: 8.762 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001381/1.378, allocations: 338 kB / 1.315 GB, free: 8.723 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.001796/1.38, allocations: 0.6299 MB / 1.316 GB, free: 8.531 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005134/1.38, allocations: 340.7 kB / 1.316 GB, free: 8.527 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.38, allocations: 0 / 1.316 GB, free: 8.527 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/1.38, allocations: 167 kB / 1.317 GB, free: 8.523 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005268/1.386, allocations: 0.8635 MB / 1.317 GB, free: 8.449 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/1.389, allocations: 2.514 MB / 1.32 GB, free: 7.145 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008014/1.39, allocations: 1.203 MB / 1.321 GB, free: 6.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/1.39, allocations: 86.53 kB / 1.321 GB, free: 6.418 MB / 1.014 GB Notification: Performance of SimCode: time 1.052e-06/1.39, allocations: 0 / 1.321 GB, free: 6.418 MB / 1.014 GB Notification: Performance of Templates: time 0.04344/1.434, allocations: 24.61 MB / 1.345 GB, free: 14.22 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches