Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example4.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.0009631/0.0009631, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001579/0.001579, allocations: 166 kB / 24.87 MB, free: 9.258 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.9748/0.9748, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.905/1.905, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0.5469 kB / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.742e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.1353/0.1353, allocations: 152.3 MB / 0.9615 GB, free: 8.617 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01018/0.1455, allocations: 9.991 MB / 0.9713 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.1466, allocations: 91.19 kB / 0.9714 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0008791/0.1475, allocations: 436.7 kB / 0.9718 GB, free: 14.09 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002252/0.1497, allocations: 1.639 MB / 0.9734 GB, free: 12.44 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.1521, allocations: 1.452 MB / 0.9748 GB, free: 10.98 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002679/0.1548, allocations: 3.409 MB / 0.9781 GB, free: 7.562 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009774/0.1558, allocations: 1.034 MB / 0.9792 GB, free: 6.496 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002643/0.1584, allocations: 2.139 MB / 0.9812 GB, free: 4.461 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.1595, allocations: 0.8644 MB / 0.9821 GB, free: 3.594 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.1596, allocations: 116 kB / 0.9822 GB, free: 3.48 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.1611, allocations: 1.13 MB / 0.9833 GB, free: 2.348 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003045/0.1614, allocations: 0.5021 MB / 0.9838 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004383/0.1618, allocations: 0.5338 MB / 0.9843 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.1634, allocations: 1.744 MB / 0.986 GB, free: 15.56 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1635, allocations: 0 / 0.986 GB, free: 15.56 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1635, allocations: 0 / 0.986 GB, free: 15.56 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.1635, allocations: 0 / 0.986 GB, free: 15.56 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.001941/0.1654, allocations: 2.004 MB / 0.988 GB, free: 13.51 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.1654, allocations: 8.031 kB / 0.988 GB, free: 13.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.1667, allocations: 0.5567 MB / 0.9885 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.1678, allocations: 1.119 MB / 0.9896 GB, free: 11.77 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.91e-05/0.1679, allocations: 78 kB / 0.9897 GB, free: 11.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.564e-05/0.168, allocations: 100 kB / 0.9898 GB, free: 11.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.169, allocations: 1.123 MB / 0.9909 GB, free: 10.29 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.1691, allocations: 7.938 kB / 0.9909 GB, free: 10.28 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.374e-05/0.1691, allocations: 44 kB / 0.9909 GB, free: 10.24 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-05/0.1692, allocations: 42 kB / 0.991 GB, free: 10.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.1696, allocations: 381.2 kB / 0.9913 GB, free: 9.824 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.00452/0.1741, allocations: 7.322 MB / 0.9985 GB, free: 2.25 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.1745, allocations: 203.3 kB / 0.9987 GB, free: 2.039 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.1746, allocations: 71.64 kB / 0.9987 GB, free: 1.965 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.229e-05/0.1747, allocations: 27.98 kB / 0.9988 GB, free: 1.938 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.1747, allocations: 37.39 kB / 0.9988 GB, free: 1.891 MB / 0.948 GB Notification: Performance of pre-optimization done (n=32): time 1.403e-06/0.1747, allocations: 0 / 0.9988 GB, free: 1.891 MB / 0.948 GB Notification: Performance of matching and sorting (n=32): time 0.0006151/0.1753, allocations: 381.7 kB / 0.9992 GB, free: 1.512 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.1754, allocations: 55.41 kB / 0.9992 GB, free: 1.445 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007295/0.1761, allocations: 1.035 MB / 1 GB, free: 412 kB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.1761, allocations: 33.7 kB / 1 GB, free: 372 kB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.1765, allocations: 0.8065 MB / 1.001 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.55e-05/0.1766, allocations: 131 kB / 1.001 GB, free: 15.42 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.1768, allocations: 176.1 kB / 1.001 GB, free: 15.24 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1769, allocations: 0.5043 MB / 1.002 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.177, allocations: 75.62 kB / 1.002 GB, free: 14.65 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006787/0.1777, allocations: 0.8338 MB / 1.003 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004702/0.1781, allocations: 0.6769 MB / 1.003 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1782, allocations: 0 / 1.003 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0006624/0.1788, allocations: 0.6083 MB / 1.004 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1788, allocations: 12 kB / 1.004 GB, free: 12 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1788, allocations: 12 kB / 1.004 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1789, allocations: 16 kB / 1.004 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.1792, allocations: 180.4 kB / 1.004 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.1793, allocations: 23.92 kB / 1.004 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.1797, allocations: 131.2 kB / 1.004 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.1798, allocations: 39.98 kB / 1.004 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002605/0.18, allocations: 208.8 kB / 1.005 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003947/0.1804, allocations: 0.8218 MB / 1.005 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004675/0.1809, allocations: 0.6786 MB / 1.006 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.627e-06/0.1809, allocations: 4 kB / 1.006 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0006546/0.1816, allocations: 0.6066 MB / 1.007 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.1816, allocations: 8.188 kB / 1.007 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1816, allocations: 16 kB / 1.007 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1816, allocations: 16 kB / 1.007 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.1819, allocations: 175.7 kB / 1.007 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.182, allocations: 23.92 kB / 1.007 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/0.1824, allocations: 103.6 kB / 1.007 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.1825, allocations: 47.86 kB / 1.007 GB, free: 8.387 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (87): * Single equations (assignments): 87 * 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.0001543/0.1826, allocations: 323.7 kB / 1.007 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.1827, allocations: 135.2 kB / 1.007 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/0.1832, allocations: 320.6 kB / 1.008 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1832, allocations: 4 kB / 1.008 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-06/0.1832, allocations: 0 / 1.008 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1832, allocations: 7.922 kB / 1.008 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.1846, allocations: 1.108 MB / 1.009 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1846, allocations: 8.094 kB / 1.009 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.1848, allocations: 71.89 kB / 1.009 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1848, allocations: 8 kB / 1.009 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.1849, allocations: 11.98 kB / 1.009 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1849, allocations: 8 kB / 1.009 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1849, allocations: 8.031 kB / 1.009 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004372/0.1853, allocations: 0.5766 MB / 1.01 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.1855, allocations: 179.1 kB / 1.01 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-05/0.1856, allocations: 15.98 kB / 1.01 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.186, allocations: 35.97 kB / 1.01 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.186, allocations: 43.83 kB / 1.01 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.1861, allocations: 19.98 kB / 1.01 GB, free: 5.332 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003971/0.1864, allocations: 0.5704 MB / 1.01 GB, free: 4.758 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.1864, allocations: 4 kB / 1.01 GB, free: 4.754 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001095/0.1875, allocations: 0.6546 MB / 1.011 GB, free: 4.098 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (31): * Single equations (assignments): 31 * 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.0002491/0.1878, allocations: 178.9 kB / 1.011 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006128/0.1884, allocations: 0.5391 MB / 1.012 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.1884, allocations: 4 kB / 1.012 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.1885, allocations: 103.6 kB / 1.012 GB, free: 3.27 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.1898, allocations: 488.6 kB / 1.012 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.1924, allocations: 2.067 MB / 1.014 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.1926, allocations: 259.2 kB / 1.015 GB, free: 348 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0005412/0.1931, allocations: 216.8 kB / 1.015 GB, free: 128 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006914/0.1938, allocations: 437.8 kB / 1.015 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of SimCode: time 6.21e-07/0.1938, allocations: 4 kB / 1.015 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of Templates: time 0.02126/0.2151, allocations: 18.62 MB / 1.033 GB, free: 13.51 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example4.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.969125074800104]