Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8997/0.8997, allocations: 177.2 MB / 204.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.785/1.785, allocations: 377.9 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bouMoiAir.Xi.[0-9,]+.|bouMoiAirCO2.Xi.[0-9,]+.|bouProFluGas.Xi.[0-9,]+.|bouNatGas.Xi.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bouMoiAir.Xi.[0-9,]+.|bouMoiAirCO2.Xi.[0-9,]+.|bouProFluGas.Xi.[0-9,]+.|bouNatGas.Xi.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.883e-05, allocations: 3.781 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.1629/0.1629, allocations: 158.8 MB / 0.9666 GB, free: 2.414 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00469/0.1676, allocations: 3.541 MB / 0.9701 GB, free: 14.87 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005292/0.1681, allocations: 63.38 kB / 0.9701 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0005285/0.1686, allocations: 309.5 kB / 0.9704 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.1707, allocations: 1.383 MB / 0.9718 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.1729, allocations: 1.667 MB / 0.9734 GB, free: 11.44 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001771/0.1747, allocations: 2.344 MB / 0.9757 GB, free: 9.086 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.1759, allocations: 0.8737 MB / 0.9765 GB, free: 8.188 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00204/0.1779, allocations: 1.924 MB / 0.9784 GB, free: 6.258 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006303/0.1785, allocations: 0.5959 MB / 0.979 GB, free: 5.66 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.1786, allocations: 88 kB / 0.9791 GB, free: 5.574 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.1802, allocations: 1.301 MB / 0.9804 GB, free: 4.27 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003311/0.1805, allocations: 0.5766 MB / 0.9809 GB, free: 3.691 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003458/0.1809, allocations: 498.9 kB / 0.9814 GB, free: 3.203 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.00201/0.1829, allocations: 2.075 MB / 0.9834 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1829, allocations: 0 / 0.9834 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1829, allocations: 0 / 0.9834 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.236e-05/0.1829, allocations: 0 / 0.9834 GB, free: 1.121 MB / 0.9323 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.001335/0.1843, allocations: 1.771 MB / 0.9852 GB, free: 15.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1843, allocations: 8.031 kB / 0.9852 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000982/0.1853, allocations: 0.5372 MB / 0.9857 GB, free: 14.76 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008499/0.1861, allocations: 0.9558 MB / 0.9866 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/0.1862, allocations: 78.06 kB / 0.9867 GB, free: 13.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.922e-05/0.1863, allocations: 116 kB / 0.9868 GB, free: 13.58 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.1873, allocations: 1.42 MB / 0.9882 GB, free: 11.91 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.1873, allocations: 7.938 kB / 0.9882 GB, free: 11.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-05/0.1874, allocations: 44 kB / 0.9882 GB, free: 11.86 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.154e-05/0.1874, allocations: 61.62 kB / 0.9883 GB, free: 11.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.1879, allocations: 385.3 kB / 0.9887 GB, free: 11.43 MB / 0.948 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.003347/0.1913, allocations: 5.49 MB / 0.994 GB, free: 5.766 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.1916, allocations: 184.2 kB / 0.9942 GB, free: 5.535 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.1917, allocations: 106.8 kB / 0.9943 GB, free: 5.414 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.1918, allocations: 83.94 kB / 0.9944 GB, free: 5.332 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1918, allocations: 45.39 kB / 0.9944 GB, free: 5.277 MB / 0.948 GB Notification: Performance of pre-optimization done (n=28): time 1.542e-06/0.1918, allocations: 0 / 0.9944 GB, free: 5.277 MB / 0.948 GB Notification: Performance of matching and sorting (n=28): time 0.0005227/0.1924, allocations: 309.1 kB / 0.9947 GB, free: 4.969 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.1924, allocations: 132.5 kB / 0.9949 GB, free: 4.809 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/0.1928, allocations: 0.6596 MB / 0.9955 GB, free: 4.133 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.1929, allocations: 29.7 kB / 0.9955 GB, free: 4.098 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.1932, allocations: 0.6586 MB / 0.9962 GB, free: 3.43 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.1932, allocations: 103.2 kB / 0.9963 GB, free: 3.328 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.192e-05/0.1933, allocations: 75.3 kB / 0.9963 GB, free: 3.246 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.822e-05/0.1934, allocations: 0.4927 MB / 0.9968 GB, free: 2.746 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.882e-05/0.1934, allocations: 31.98 kB / 0.9968 GB, free: 2.715 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/0.1938, allocations: 299 kB / 0.9971 GB, free: 2.344 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.194, allocations: 184.7 kB / 0.9973 GB, free: 2.121 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.194, allocations: 0 / 0.9973 GB, free: 2.121 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000276/0.1943, allocations: 265.6 kB / 0.9976 GB, free: 1.855 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1943, allocations: 4 kB / 0.9976 GB, free: 1.852 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1943, allocations: 4 kB / 0.9976 GB, free: 1.848 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1943, allocations: 4 kB / 0.9976 GB, free: 1.844 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1944, allocations: 47.92 kB / 0.9976 GB, free: 1.797 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1944, allocations: 7.984 kB / 0.9976 GB, free: 1.789 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.1946, allocations: 23.84 kB / 0.9977 GB, free: 1.766 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.1946, allocations: 20 kB / 0.9977 GB, free: 1.746 MB / 0.948 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.0001422/0.1947, allocations: 188.6 kB / 0.9978 GB, free: 1.551 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.1948, allocations: 91.47 kB / 0.9979 GB, free: 1.461 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.195, allocations: 211.5 kB / 0.9981 GB, free: 1.234 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.195, allocations: 4 kB / 0.9981 GB, free: 1.23 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.195, allocations: 0 / 0.9981 GB, free: 1.23 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.195, allocations: 0 / 0.9981 GB, free: 1.23 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.1965, allocations: 1.786 MB / 0.9999 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1965, allocations: 4 kB / 0.9999 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.547e-05/0.1966, allocations: 55.95 kB / 0.9999 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.1966, allocations: 8 kB / 1 GB, free: 15.22 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.1966, allocations: 12 kB / 1 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.802e-06/0.1966, allocations: 12.06 kB / 1 GB, free: 15.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.1967, allocations: 19.86 kB / 1 GB, free: 15.18 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.197, allocations: 468 kB / 1 GB, free: 14.59 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.1971, allocations: 123.4 kB / 1.001 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/0.1971, allocations: 16 kB / 1.001 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1972, allocations: 15.94 kB / 1.001 GB, free: 14.44 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.1973, allocations: 31.84 kB / 1.001 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.1973, allocations: 20 kB / 1.001 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002958/0.1976, allocations: 442.9 kB / 1.001 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1976, allocations: 0 / 1.001 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000485/0.1981, allocations: 386.6 kB / 1.001 GB, free: 13.58 MB / 0.9636 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.0005929/0.1986, allocations: 422.4 kB / 1.002 GB, free: 13.16 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1989, allocations: 151.3 kB / 1.002 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1989, allocations: 7.938 kB / 1.002 GB, free: 13 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.566e-05/0.199, allocations: 87.97 kB / 1.002 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.2, allocations: 0.4915 MB / 1.003 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.202, allocations: 1.894 MB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.2022, allocations: 285.5 kB / 1.005 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002549/0.2025, allocations: 157.1 kB / 1.005 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.143e-05/0.2025, allocations: 48.48 kB / 1.005 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.2025, allocations: 8 kB / 1.005 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of Templates: time 0.01919/0.2217, allocations: 17.87 MB / 1.022 GB, free: 8.453 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4648680300451815]