Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007984/0.007984, allocations: 102.6 kB / 15.73 MB, free: 5.504 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.001401/0.001401, allocations: 195.2 kB / 16.67 MB, free: 5.434 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.828/2.828, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 59.91 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3353, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.9962/1.332, allocations: 214.6 MB / 1.43 GB, free: 12.59 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0187/1.35, allocations: 12.18 MB / 1.442 GB, free: 2.449 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002665/1.353, allocations: 43.69 kB / 1.442 GB, free: 2.406 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002095/1.355, allocations: 0.5196 MB / 1.443 GB, free: 1.883 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006891/1.362, allocations: 1.96 MB / 1.445 GB, free: 15.91 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005845/1.368, allocations: 1.926 MB / 1.446 GB, free: 14 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004008/1.372, allocations: 2.336 MB / 1.449 GB, free: 11.66 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/1.373, allocations: 1.012 MB / 1.45 GB, free: 10.62 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/1.375, allocations: 0.8405 MB / 1.451 GB, free: 9.781 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008638/1.376, allocations: 0.6613 MB / 1.451 GB, free: 9.117 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001296/1.376, allocations: 92 kB / 1.451 GB, free: 9.027 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006218/1.382, allocations: 2.708 MB / 1.454 GB, free: 6.312 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005596/1.383, allocations: 0.557 MB / 1.454 GB, free: 5.754 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000804/1.384, allocations: 0.727 MB / 1.455 GB, free: 5.023 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00546/1.389, allocations: 3.123 MB / 1.458 GB, free: 1.891 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.389, allocations: 4 kB / 1.458 GB, free: 1.887 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.873e-06/1.389, allocations: 0 / 1.458 GB, free: 1.887 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.357e-05/1.389, allocations: 0 / 1.458 GB, free: 1.887 MB / 1.139 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.002636/1.392, allocations: 1.796 MB / 1.46 GB, free: 32 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/1.392, allocations: 8.031 kB / 1.46 GB, free: 24 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/1.393, allocations: 382.6 kB / 1.46 GB, free: 15.65 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/1.395, allocations: 0.9667 MB / 1.461 GB, free: 14.64 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.84e-05/1.395, allocations: 82.05 kB / 1.461 GB, free: 14.56 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/1.395, allocations: 100 kB / 1.461 GB, free: 14.46 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/1.397, allocations: 1.529 MB / 1.463 GB, free: 12.82 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/1.397, allocations: 0 / 1.463 GB, free: 12.82 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-05/1.397, allocations: 55.94 kB / 1.463 GB, free: 12.77 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-05/1.397, allocations: 65.42 kB / 1.463 GB, free: 12.7 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/1.399, allocations: 1.025 MB / 1.464 GB, free: 11.68 MB / 1.154 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.006179/1.405, allocations: 5.863 MB / 1.47 GB, free: 5.508 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/1.405, allocations: 310.2 kB / 1.47 GB, free: 5.168 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/1.406, allocations: 240.3 kB / 1.47 GB, free: 4.922 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006785/1.406, allocations: 0.7042 MB / 1.471 GB, free: 4.07 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/1.406, allocations: 46.55 kB / 1.471 GB, free: 4.016 MB / 1.154 GB Notification: Performance of pre-optimization done (n=28): time 2.565e-06/1.406, allocations: 0 / 1.471 GB, free: 4.016 MB / 1.154 GB Notification: Performance of matching and sorting (n=28): time 0.001297/1.408, allocations: 0.6758 MB / 1.472 GB, free: 3.336 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/1.408, allocations: 132.5 kB / 1.472 GB, free: 3.176 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/1.41, allocations: 1.686 MB / 1.473 GB, free: 1.48 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/1.41, allocations: 33.7 kB / 1.473 GB, free: 1.441 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004834/1.41, allocations: 0.5623 MB / 1.474 GB, free: 0.875 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 8.524e-05/1.41, allocations: 95.17 kB / 1.474 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/1.41, allocations: 66.16 kB / 1.474 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.411, allocations: 325.9 kB / 1.475 GB, free: 396 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/1.411, allocations: 159.9 kB / 1.475 GB, free: 236 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/1.411, allocations: 273.5 kB / 1.475 GB, free: 15.93 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/1.412, allocations: 408.2 kB / 1.475 GB, free: 15.5 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.412, allocations: 0 / 1.475 GB, free: 15.5 MB / 1.17 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000727/1.412, allocations: 0.5487 MB / 1.476 GB, free: 14.95 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/1.412, allocations: 8 kB / 1.476 GB, free: 14.94 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.412, allocations: 4.172 kB / 1.476 GB, free: 14.94 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/1.412, allocations: 8 kB / 1.476 GB, free: 14.93 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/1.413, allocations: 55.92 kB / 1.476 GB, free: 14.88 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/1.413, allocations: 11.88 kB / 1.476 GB, free: 14.86 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005539/1.413, allocations: 114.9 kB / 1.476 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/1.413, allocations: 20.62 kB / 1.476 GB, free: 14.73 MB / 1.17 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.0004516/1.414, allocations: 373.6 kB / 1.476 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002401/1.414, allocations: 147.1 kB / 1.477 GB, free: 14.21 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005983/1.414, allocations: 388.3 kB / 1.477 GB, free: 13.81 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/1.414, allocations: 4 kB / 1.477 GB, free: 13.81 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/1.414, allocations: 7.875 kB / 1.477 GB, free: 13.8 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.414, allocations: 3.984 kB / 1.477 GB, free: 13.8 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003667/1.418, allocations: 2.525 MB / 1.479 GB, free: 11.09 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/1.418, allocations: 4 kB / 1.479 GB, free: 11.09 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/1.418, allocations: 51.92 kB / 1.479 GB, free: 11.04 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/1.418, allocations: 11.98 kB / 1.479 GB, free: 11.03 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/1.418, allocations: 12 kB / 1.479 GB, free: 11.02 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.524e-05/1.418, allocations: 11.94 kB / 1.479 GB, free: 11 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.719e-06/1.418, allocations: 8 kB / 1.48 GB, free: 11 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009105/1.419, allocations: 0.6316 MB / 1.48 GB, free: 10.27 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006989/1.42, allocations: 300 kB / 1.48 GB, free: 9.953 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003839/1.42, allocations: 23.92 kB / 1.48 GB, free: 9.93 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006067/1.421, allocations: 12 kB / 1.48 GB, free: 9.918 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/1.421, allocations: 31.86 kB / 1.48 GB, free: 9.887 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/1.421, allocations: 19.94 kB / 1.48 GB, free: 9.867 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001963/1.423, allocations: 1.231 MB / 1.482 GB, free: 8.641 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.423, allocations: 0 / 1.482 GB, free: 8.641 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001304/1.424, allocations: 327.4 kB / 1.482 GB, free: 8.32 MB / 1.17 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.001836/1.426, allocations: 0.6177 MB / 1.483 GB, free: 7.703 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006533/1.427, allocations: 339.5 kB / 1.483 GB, free: 7.371 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.427, allocations: 384 / 1.483 GB, free: 7.371 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/1.427, allocations: 159.6 kB / 1.483 GB, free: 7.215 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004004/1.431, allocations: 0.9308 MB / 1.484 GB, free: 6.312 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/1.435, allocations: 2.135 MB / 1.486 GB, free: 4.07 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/1.436, allocations: 1.208 MB / 1.487 GB, free: 2.832 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001123/1.437, allocations: 290.8 kB / 1.488 GB, free: 2.543 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/1.437, allocations: 83.44 kB / 1.488 GB, free: 2.461 MB / 1.17 GB Notification: Performance of SimCode: time 1.914e-06/1.437, allocations: 0 / 1.488 GB, free: 2.461 MB / 1.17 GB Notification: Performance of Templates: time 0.05312/1.49, allocations: 31.08 MB / 1.518 GB, free: 3.723 MB / 1.201 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches