Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.001047/0.001047, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001631/0.001631, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.013/1.013, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.893/1.893, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] 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.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.546e-05/4.815e-05, allocations: 6.312 kB / 0.8116 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1678/0.1679, allocations: 163.7 MB / 0.9714 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002609/0.1705, allocations: 1.588 MB / 0.9729 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003609/0.1709, allocations: 15.81 kB / 0.9729 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.1714, allocations: 158.8 kB / 0.9731 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.1731, allocations: 0.7151 MB / 0.9738 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.1748, allocations: 0.6617 MB / 0.9744 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.000976/0.1758, allocations: 0.705 MB / 0.9751 GB, free: 10 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004186/0.1762, allocations: 185.2 kB / 0.9753 GB, free: 9.824 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.1774, allocations: 0.588 MB / 0.9759 GB, free: 9.234 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.1776, allocations: 191.4 kB / 0.9761 GB, free: 9.047 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.1777, allocations: 24 kB / 0.9761 GB, free: 9.023 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.1789, allocations: 0.7203 MB / 0.9768 GB, free: 8.301 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.179, allocations: 123.6 kB / 0.9769 GB, free: 8.18 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.1792, allocations: 115.8 kB / 0.977 GB, free: 8.066 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0009689/0.1801, allocations: 0.6348 MB / 0.9776 GB, free: 7.43 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1801, allocations: 4 kB / 0.9776 GB, free: 7.426 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1801, allocations: 0 / 0.9776 GB, free: 7.426 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.1801, allocations: 3.938 kB / 0.9776 GB, free: 7.422 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008231/0.181, allocations: 0.678 MB / 0.9783 GB, free: 6.703 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.181, allocations: 8.031 kB / 0.9783 GB, free: 6.695 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000888/0.1819, allocations: 215.1 kB / 0.9785 GB, free: 6.484 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.1823, allocations: 271.3 kB / 0.9788 GB, free: 6.195 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.1824, allocations: 16.5 kB / 0.9788 GB, free: 6.18 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.1824, allocations: 24 kB / 0.9788 GB, free: 6.156 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.1828, allocations: 231.2 kB / 0.979 GB, free: 5.902 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1828, allocations: 7.938 kB / 0.979 GB, free: 5.895 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.1828, allocations: 11.94 kB / 0.9791 GB, free: 5.883 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.1828, allocations: 15.92 kB / 0.9791 GB, free: 5.867 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.183, allocations: 84.59 kB / 0.9791 GB, free: 5.785 MB / 0.9323 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.001249/0.1843, allocations: 1.129 MB / 0.9803 GB, free: 4.602 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.1844, allocations: 91.02 kB / 0.9803 GB, free: 4.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.604e-05/0.1845, allocations: 38.48 kB / 0.9804 GB, free: 4.461 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002621/0.1848, allocations: 63.94 kB / 0.9804 GB, free: 4.398 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.1848, allocations: 41.33 kB / 0.9805 GB, free: 4.348 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 3.236e-06/0.1848, allocations: 0 / 0.9805 GB, free: 4.348 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0004108/0.1852, allocations: 161.4 kB / 0.9806 GB, free: 4.184 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.1852, allocations: 59.33 kB / 0.9807 GB, free: 4.113 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.1854, allocations: 292.3 kB / 0.981 GB, free: 3.812 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1854, allocations: 29.7 kB / 0.981 GB, free: 3.777 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/0.1858, allocations: 231 kB / 0.9812 GB, free: 3.547 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.1859, allocations: 59.52 kB / 0.9813 GB, free: 3.488 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.1859, allocations: 51.31 kB / 0.9813 GB, free: 3.43 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.186, allocations: 0.5079 MB / 0.9818 GB, free: 2.91 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.684e-05/0.1861, allocations: 23.98 kB / 0.9818 GB, free: 2.887 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1862, allocations: 171.2 kB / 0.982 GB, free: 2.676 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1863, allocations: 121 kB / 0.9821 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1863, allocations: 4 kB / 0.9821 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002016/0.1865, allocations: 165.3 kB / 0.9823 GB, free: 2.363 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1865, allocations: 8 kB / 0.9823 GB, free: 2.355 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1865, allocations: 0 / 0.9823 GB, free: 2.355 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1866, allocations: 4 kB / 0.9823 GB, free: 2.352 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1867, allocations: 36.08 kB / 0.9823 GB, free: 2.316 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.1867, allocations: 7.938 kB / 0.9823 GB, free: 2.309 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.604e-05/0.1868, allocations: 23.88 kB / 0.9824 GB, free: 2.285 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.1868, allocations: 8 kB / 0.9824 GB, free: 2.277 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001026/0.1869, allocations: 168.5 kB / 0.9825 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.1869, allocations: 31.8 kB / 0.9826 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.1872, allocations: 139.3 kB / 0.9827 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1872, allocations: 0 / 0.9827 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1872, allocations: 4 kB / 0.9827 GB, free: 1.922 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.1872, allocations: 0 / 0.9827 GB, free: 1.922 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000544/0.1877, allocations: 0.5652 MB / 0.9832 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1877, allocations: 4 kB / 0.9832 GB, free: 1.281 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.189e-05/0.1878, allocations: 27.92 kB / 0.9833 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.361e-06/0.1878, allocations: 4 kB / 0.9833 GB, free: 1.25 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1878, allocations: 8 kB / 0.9833 GB, free: 1.242 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.1878, allocations: 4.219 kB / 0.9833 GB, free: 1.238 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1878, allocations: 7.984 kB / 0.9833 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.1881, allocations: 359.2 kB / 0.9836 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.1882, allocations: 35.97 kB / 0.9837 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.1882, allocations: 11.98 kB / 0.9837 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.1883, allocations: 4 kB / 0.9837 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.1884, allocations: 27.84 kB / 0.9837 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.1884, allocations: 8 kB / 0.9837 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001106/0.1885, allocations: 201.1 kB / 0.9839 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1885, allocations: 0 / 0.9839 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003036/0.1888, allocations: 91.86 kB / 0.984 GB, free: 472 kB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.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 (15): * Single equations (assignments): 15 * 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.0002737/0.1891, allocations: 151.1 kB / 0.9841 GB, free: 312 kB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.1893, allocations: 93.39 kB / 0.9842 GB, free: 216 kB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1893, allocations: 0 / 0.9842 GB, free: 216 kB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 6.322e-05/0.1893, allocations: 56.05 kB / 0.9843 GB, free: 156 kB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.1898, allocations: 118.7 kB / 0.9844 GB, free: 40 kB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.1909, allocations: 0.5891 MB / 0.985 GB, free: 15.39 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.653e-05/0.191, allocations: 96.3 kB / 0.9851 GB, free: 15.28 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.1911, allocations: 46.27 kB / 0.9851 GB, free: 15.23 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.1912, allocations: 28.48 kB / 0.9851 GB, free: 15.2 MB / 0.948 GB Notification: Performance of SimCode: time 9.01e-07/0.1912, allocations: 0 / 0.9851 GB, free: 15.2 MB / 0.948 GB Notification: Performance of Templates: time 0.007488/0.1987, allocations: 4.84 MB / 0.9899 GB, free: 10.51 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.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.585208015050739]