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.001368/0.001368, allocations: 100.1 kB / 15.88 MB, free: 12 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.00138/0.00138, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.408/1.408, allocations: 222.9 MB / 240.5 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.766/2.766, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001288, allocations: 62.39 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3255, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.9103/1.236, allocations: 212.5 MB / 1.26 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0148/1.251, allocations: 12.27 MB / 1.272 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002299/1.253, allocations: 48.91 kB / 1.272 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001504/1.255, allocations: 411.3 kB / 1.273 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005275/1.26, allocations: 1.756 MB / 1.274 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006162/1.266, allocations: 1.733 MB / 1.276 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007913/1.274, allocations: 3.048 MB / 1.279 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003593/1.278, allocations: 1.05 MB / 1.28 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003946/1.282, allocations: 0.7224 MB / 1.281 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003243/1.285, allocations: 0.7132 MB / 1.281 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006469/1.286, allocations: 47.94 kB / 1.281 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01756/1.303, allocations: 3.525 MB / 1.285 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002414/1.306, allocations: 0.5043 MB / 1.285 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004188/1.31, allocations: 0.6836 MB / 1.286 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008437/1.318, allocations: 2.451 MB / 1.288 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.319, allocations: 4 kB / 1.288 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.055e-06/1.319, allocations: 1.25 kB / 1.288 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.585e-05/1.319, allocations: 1.312 kB / 1.288 GB, free: 1.625 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.006843/1.326, allocations: 1.74 MB / 1.29 GB, free: 16.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/1.326, allocations: 13.06 kB / 1.29 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003658/1.329, allocations: 373 kB / 1.291 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002873/1.332, allocations: 0.8921 MB / 1.291 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/1.332, allocations: 85.19 kB / 1.292 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003301/1.333, allocations: 103.5 kB / 1.292 GB, free: 16.26 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004158/1.337, allocations: 1.528 MB / 1.293 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-05/1.337, allocations: 8.844 kB / 1.293 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002387/1.337, allocations: 47.97 kB / 1.293 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/1.337, allocations: 58.45 kB / 1.293 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002976/1.34, allocations: 1.021 MB / 1.294 GB, free: 15.95 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.01366/1.354, allocations: 5.959 MB / 1.3 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/1.355, allocations: 320.7 kB / 1.3 GB, free: 12.35 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005965/1.356, allocations: 245.8 kB / 1.301 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001273/1.357, allocations: 0.7121 MB / 1.301 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.072e-05/1.357, allocations: 43.22 kB / 1.301 GB, free: 11.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 6.011e-06/1.357, allocations: 0 / 1.301 GB, free: 11.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.002726/1.36, allocations: 0.6712 MB / 1.302 GB, free: 11.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/1.36, allocations: 136.7 kB / 1.302 GB, free: 11.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004681/1.365, allocations: 1.686 MB / 1.304 GB, free: 11.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/1.365, allocations: 32.05 kB / 1.304 GB, free: 11.06 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000849/1.366, allocations: 0.5584 MB / 1.304 GB, free: 10.95 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/1.366, allocations: 99.97 kB / 1.304 GB, free: 10.89 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/1.366, allocations: 68.59 kB / 1.304 GB, free: 10.87 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.366, allocations: 315.5 kB / 1.305 GB, free: 10.56 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/1.367, allocations: 153.1 kB / 1.305 GB, free: 10.56 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006161/1.367, allocations: 268.9 kB / 1.305 GB, free: 10.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009642/1.368, allocations: 409.6 kB / 1.306 GB, free: 10.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/1.368, allocations: 1.125 kB / 1.306 GB, free: 10.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001649/1.37, allocations: 0.5497 MB / 1.306 GB, free: 10.29 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/1.37, allocations: 6.734 kB / 1.306 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/1.37, allocations: 2.5 kB / 1.306 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.391e-05/1.37, allocations: 8.438 kB / 1.306 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/1.371, allocations: 51.23 kB / 1.306 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/1.371, allocations: 10.06 kB / 1.306 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/1.372, allocations: 112.1 kB / 1.306 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-05/1.372, allocations: 24.38 kB / 1.306 GB, free: 10.2 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.0009796/1.373, allocations: 382.5 kB / 1.307 GB, free: 10.08 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005828/1.374, allocations: 139.1 kB / 1.307 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/1.375, allocations: 387.5 kB / 1.307 GB, free: 9.926 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/1.375, allocations: 6.469 kB / 1.307 GB, free: 9.922 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/1.375, allocations: 3.906 kB / 1.307 GB, free: 9.922 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/1.375, allocations: 4 kB / 1.307 GB, free: 9.918 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005254/1.381, allocations: 2.603 MB / 1.31 GB, free: 8.926 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/1.381, allocations: 11.22 kB / 1.31 GB, free: 8.922 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/1.381, allocations: 53.34 kB / 1.31 GB, free: 8.922 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/1.381, allocations: 7.781 kB / 1.31 GB, free: 8.922 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/1.381, allocations: 13.28 kB / 1.31 GB, free: 8.922 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.279e-05/1.381, allocations: 13.3 kB / 1.31 GB, free: 8.922 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/1.381, allocations: 9.094 kB / 1.31 GB, free: 8.922 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009058/1.382, allocations: 0.6176 MB / 1.31 GB, free: 8.566 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007481/1.383, allocations: 299 kB / 1.311 GB, free: 8.391 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005078/1.383, allocations: 13.38 kB / 1.311 GB, free: 8.391 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006958/1.384, allocations: 23.97 kB / 1.311 GB, free: 8.383 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/1.384, allocations: 33.48 kB / 1.311 GB, free: 8.379 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/1.384, allocations: 22.25 kB / 1.311 GB, free: 8.375 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001998/1.386, allocations: 1.228 MB / 1.312 GB, free: 8.262 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.386, allocations: 0 / 1.312 GB, free: 8.262 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001783/1.388, allocations: 340.7 kB / 1.312 GB, free: 8.227 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.002444/1.39, allocations: 0.6352 MB / 1.313 GB, free: 8.027 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000614/1.391, allocations: 335.5 kB / 1.313 GB, free: 8.023 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.391, allocations: 2.562 kB / 1.313 GB, free: 8.023 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002063/1.391, allocations: 161.9 kB / 1.313 GB, free: 8.02 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004543/1.396, allocations: 0.8671 MB / 1.314 GB, free: 7.945 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004223/1.4, allocations: 2.5 MB / 1.317 GB, free: 6.648 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/1.401, allocations: 1.201 MB / 1.318 GB, free: 5.934 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/1.401, allocations: 87.42 kB / 1.318 GB, free: 5.926 MB / 1.014 GB Notification: Performance of SimCode: time 1.262e-06/1.401, allocations: 0 / 1.318 GB, free: 5.926 MB / 1.014 GB Notification: Performance of Templates: time 0.04548/1.447, allocations: 24.81 MB / 1.342 GB, free: 14.4 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