Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.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.001543/0.001543, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001101/0.001101, allocations: 169 kB / 23.02 MB, free: 1.547 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 1.017/1.017, allocations: 177.1 MB / 203.4 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.271/2.271, allocations: 429.5 MB / 0.6732 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Sensors.Examples.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.ports.[0-9,]+..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.ports.[0-9,]+..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Density") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.185e-05/3.384e-05, allocations: 5.547 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1428/0.1429, allocations: 149.4 MB / 1.024 GB, free: 364 kB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.007852/0.1507, allocations: 4.669 MB / 1.029 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.1519, allocations: 43.62 kB / 1.029 GB, free: 11.63 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008399/0.1528, allocations: 214.4 kB / 1.029 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.155, allocations: 0.9012 MB / 1.03 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002688/0.1577, allocations: 1.008 MB / 1.031 GB, free: 9.504 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002603/0.1603, allocations: 1.987 MB / 1.033 GB, free: 7.512 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007052/0.161, allocations: 0.5115 MB / 1.033 GB, free: 6.984 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.1622, allocations: 0.9234 MB / 1.034 GB, free: 6.059 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.1633, allocations: 0.5725 MB / 1.035 GB, free: 5.488 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.1635, allocations: 68 kB / 1.035 GB, free: 5.422 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.165, allocations: 0.7403 MB / 1.035 GB, free: 4.68 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003135/0.1653, allocations: 323 kB / 1.036 GB, free: 4.363 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.1656, allocations: 315.3 kB / 1.036 GB, free: 4.055 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.1674, allocations: 1.047 MB / 1.037 GB, free: 3.004 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.1674, allocations: 0 / 1.037 GB, free: 3.004 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1675, allocations: 0 / 1.037 GB, free: 3.004 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.1675, allocations: 0 / 1.037 GB, free: 3.004 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.00163/0.1691, allocations: 1.176 MB / 1.038 GB, free: 1.789 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.1691, allocations: 8.031 kB / 1.038 GB, free: 1.781 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.1707, allocations: 367.6 kB / 1.039 GB, free: 1.422 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009508/0.1717, allocations: 0.5714 MB / 1.039 GB, free: 0.8203 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.1717, allocations: 45.31 kB / 1.039 GB, free: 0.7773 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-05/0.1718, allocations: 59.95 kB / 1.039 GB, free: 0.7188 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007999/0.1726, allocations: 0.5425 MB / 1.04 GB, free: 132 kB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.1727, allocations: 4 kB / 1.04 GB, free: 128 kB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/0.1727, allocations: 24 kB / 1.04 GB, free: 104 kB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/0.1727, allocations: 21.3 kB / 1.04 GB, free: 84 kB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/0.1732, allocations: 219.6 kB / 1.04 GB, free: 15.87 MB / 1.01 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.002276/0.1755, allocations: 1.616 MB / 1.042 GB, free: 14.2 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004415/0.1759, allocations: 217.7 kB / 1.042 GB, free: 13.98 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.1761, allocations: 109.5 kB / 1.042 GB, free: 13.88 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.1764, allocations: 64.19 kB / 1.042 GB, free: 13.81 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.1764, allocations: 45.72 kB / 1.042 GB, free: 13.76 MB / 1.01 GB Notification: Performance of pre-optimization done (n=39): time 3.676e-06/0.1764, allocations: 0 / 1.042 GB, free: 13.76 MB / 1.01 GB Notification: Performance of matching and sorting (n=39): time 0.000829/0.1773, allocations: 369.6 kB / 1.042 GB, free: 13.39 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.1773, allocations: 55.41 kB / 1.042 GB, free: 13.32 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00046/0.1778, allocations: 0.5103 MB / 1.043 GB, free: 12.8 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.1778, allocations: 33.7 kB / 1.043 GB, free: 12.76 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.1781, allocations: 391.6 kB / 1.043 GB, free: 12.38 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.1782, allocations: 146.8 kB / 1.044 GB, free: 12.23 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.1783, allocations: 107.8 kB / 1.044 GB, free: 12.12 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1785, allocations: 0.5391 MB / 1.044 GB, free: 11.57 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.1787, allocations: 85.58 kB / 1.044 GB, free: 11.48 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.179, allocations: 448.2 kB / 1.045 GB, free: 10.91 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/0.1795, allocations: 370.4 kB / 1.045 GB, free: 10.47 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.1795, allocations: 4 kB / 1.045 GB, free: 10.47 MB / 1.01 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006183/0.1801, allocations: 408.7 kB / 1.045 GB, free: 10.06 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.1801, allocations: 11.94 kB / 1.045 GB, free: 10.05 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.1802, allocations: 4 kB / 1.045 GB, free: 10.05 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/0.1802, allocations: 8.562 kB / 1.045 GB, free: 10.04 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005511/0.1807, allocations: 139.8 kB / 1.046 GB, free: 9.902 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004154/0.1811, allocations: 0.9011 MB / 1.046 GB, free: 8.973 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.1815, allocations: 51.66 kB / 1.046 GB, free: 8.922 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.1816, allocations: 24 kB / 1.047 GB, free: 8.898 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002529/0.1818, allocations: 203.8 kB / 1.047 GB, free: 8.695 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000335/0.1821, allocations: 456.1 kB / 1.047 GB, free: 8.121 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004406/0.1826, allocations: 377.8 kB / 1.048 GB, free: 7.672 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.378e-06/0.1826, allocations: 3.984 kB / 1.048 GB, free: 7.668 MB / 1.01 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.00061/0.1832, allocations: 412.8 kB / 1.048 GB, free: 7.258 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1832, allocations: 11.94 kB / 1.048 GB, free: 7.246 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1832, allocations: 4 kB / 1.048 GB, free: 7.242 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.1832, allocations: 8 kB / 1.048 GB, free: 7.234 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.1836, allocations: 119.8 kB / 1.048 GB, free: 7.117 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.1836, allocations: 8.438 kB / 1.048 GB, free: 7.109 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.1839, allocations: 55.72 kB / 1.048 GB, free: 7.055 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.1839, allocations: 20 kB / 1.048 GB, free: 7.035 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002482/0.1842, allocations: 303.8 kB / 1.048 GB, free: 6.73 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.1843, allocations: 75.62 kB / 1.048 GB, free: 6.656 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000522/0.1848, allocations: 304.2 kB / 1.049 GB, free: 6.352 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1848, allocations: 4 kB / 1.049 GB, free: 6.348 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1848, allocations: 0 / 1.049 GB, free: 6.348 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004524/0.1853, allocations: 0.5273 MB / 1.049 GB, free: 5.734 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.1866, allocations: 0.9671 MB / 1.05 GB, free: 4.695 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1866, allocations: 0 / 1.05 GB, free: 4.695 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.187, allocations: 111.9 kB / 1.05 GB, free: 4.586 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/0.187, allocations: 7.938 kB / 1.05 GB, free: 4.578 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.187, allocations: 12 kB / 1.05 GB, free: 4.566 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003553/0.1874, allocations: 0.8974 MB / 1.051 GB, free: 3.641 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1874, allocations: 4 kB / 1.051 GB, free: 3.637 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006469/0.1881, allocations: 0.5562 MB / 1.052 GB, free: 3.027 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.1882, allocations: 111.4 kB / 1.052 GB, free: 2.918 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.928e-05/0.1883, allocations: 11.98 kB / 1.052 GB, free: 2.906 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.1885, allocations: 16 kB / 1.052 GB, free: 2.891 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.1886, allocations: 31.89 kB / 1.052 GB, free: 2.859 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.1886, allocations: 20.05 kB / 1.052 GB, free: 2.84 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002723/0.1889, allocations: 330.8 kB / 1.052 GB, free: 2.52 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.1889, allocations: 0 / 1.052 GB, free: 2.52 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009306/0.1898, allocations: 383.2 kB / 1.053 GB, free: 2.145 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003231/0.1902, allocations: 155 kB / 1.053 GB, free: 1.98 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008615/0.191, allocations: 450.4 kB / 1.053 GB, free: 1.531 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.191, allocations: 0 / 1.053 GB, free: 1.531 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.1913, allocations: 141.7 kB / 1.053 GB, free: 1.391 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.1924, allocations: 331.2 kB / 1.054 GB, free: 1.07 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4215/0.614, allocations: 1.255 MB / 1.055 GB, free: 76.36 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.6141, allocations: 179.2 kB / 1.055 GB, free: 76.28 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005098/0.6146, allocations: 179 kB / 1.055 GB, free: 76.28 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.6147, allocations: 55.19 kB / 1.055 GB, free: 76.28 MB / 1.01 GB Notification: Performance of SimCode: time 1.333e-06/0.6147, allocations: 1.312 kB / 1.055 GB, free: 76.28 MB / 1.01 GB Notification: Performance of Templates: time 0.01515/0.6298, allocations: 11.87 MB / 1.067 GB, free: 75.54 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Density.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: 6.68906928692013]