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.001542/0.001542, 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.001821/0.001821, 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.9286/0.9286, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.842/1.842, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.844e-06/1.844e-06, allocations: 0 / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.349e-05/4.534e-05, allocations: 7.156 kB / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.1564/0.1564, allocations: 155.2 MB / 0.9631 GB, free: 5.98 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01119/0.1676, allocations: 10.08 MB / 0.973 GB, free: 11.87 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.1689, allocations: 87.25 kB / 0.973 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0008788/0.1698, allocations: 428.7 kB / 0.9734 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002694/0.1725, allocations: 1.647 MB / 0.9751 GB, free: 9.707 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.1749, allocations: 1.448 MB / 0.9765 GB, free: 8.258 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003276/0.1782, allocations: 3.417 MB / 0.9798 GB, free: 4.828 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.1795, allocations: 1.034 MB / 0.9808 GB, free: 3.762 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003266/0.1828, allocations: 2.142 MB / 0.9829 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.1838, allocations: 0.8644 MB / 0.9838 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.184, allocations: 112 kB / 0.9839 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.1857, allocations: 1.13 MB / 0.985 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003154/0.186, allocations: 0.5061 MB / 0.9855 GB, free: 15.11 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004467/0.1864, allocations: 0.526 MB / 0.986 GB, free: 14.58 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.1884, allocations: 1.756 MB / 0.9877 GB, free: 12.82 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1884, allocations: 0 / 0.9877 GB, free: 12.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1884, allocations: 0 / 0.9877 GB, free: 12.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.321e-05/0.1885, allocations: 0 / 0.9877 GB, free: 12.82 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.002283/0.1908, allocations: 1.985 MB / 0.9896 GB, free: 10.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1908, allocations: 8.031 kB / 0.9896 GB, free: 10.78 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.1921, allocations: 0.5566 MB / 0.9902 GB, free: 10.22 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.1933, allocations: 1.13 MB / 0.9913 GB, free: 9.039 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/0.1934, allocations: 77.98 kB / 0.9914 GB, free: 8.961 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.314e-05/0.1935, allocations: 104 kB / 0.9915 GB, free: 8.859 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.1947, allocations: 1.181 MB / 0.9926 GB, free: 7.492 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.1947, allocations: 7.938 kB / 0.9926 GB, free: 7.484 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.076e-05/0.1948, allocations: 43.98 kB / 0.9927 GB, free: 7.441 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.151e-05/0.1949, allocations: 49.98 kB / 0.9927 GB, free: 7.391 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007015/0.1956, allocations: 451.2 kB / 0.9931 GB, free: 6.949 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.00432/0.1999, allocations: 7.3 MB / 1 GB, free: 15.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.2003, allocations: 215.5 kB / 1 GB, free: 15.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.2005, allocations: 95.58 kB / 1.001 GB, free: 15.08 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.2006, allocations: 19.98 kB / 1.001 GB, free: 15.06 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.2006, allocations: 41.39 kB / 1.001 GB, free: 15.01 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=32): time 1.804e-06/0.2006, allocations: 0 / 1.001 GB, free: 15.01 MB / 0.9636 GB Notification: Performance of matching and sorting (n=32): time 0.0007327/0.2013, allocations: 417.7 kB / 1.001 GB, free: 14.59 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.2014, allocations: 51.41 kB / 1.001 GB, free: 14.53 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008694/0.2022, allocations: 1.055 MB / 1.002 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.2023, allocations: 33.7 kB / 1.002 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004259/0.2027, allocations: 0.795 MB / 1.003 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.39e-05/0.2028, allocations: 130.9 kB / 1.003 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.203, allocations: 172.1 kB / 1.003 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2031, allocations: 0.5043 MB / 1.004 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.2033, allocations: 103.6 kB / 1.004 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004559/0.2037, allocations: 0.8339 MB / 1.005 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/0.2043, allocations: 0.7048 MB / 1.005 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.2043, allocations: 4 kB / 1.005 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0007621/0.205, allocations: 0.6475 MB / 1.006 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.2051, allocations: 8 kB / 1.006 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.2051, allocations: 15.98 kB / 1.006 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.2051, allocations: 20.06 kB / 1.006 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.2055, allocations: 175.7 kB / 1.006 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.2055, allocations: 27.86 kB / 1.006 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004613/0.206, allocations: 135.2 kB / 1.006 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/0.206, allocations: 43.98 kB / 1.006 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003018/0.2063, allocations: 228.8 kB / 1.007 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004701/0.2068, allocations: 0.8336 MB / 1.007 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005713/0.2074, allocations: 0.7062 MB / 1.008 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-06/0.2074, allocations: 4 kB / 1.008 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0007626/0.2081, allocations: 0.6493 MB / 1.009 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.2082, allocations: 8 kB / 1.009 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2082, allocations: 12 kB / 1.009 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.2082, allocations: 16 kB / 1.009 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/0.2085, allocations: 179.7 kB / 1.009 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.2086, allocations: 28.08 kB / 1.009 GB, free: 5.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.209, allocations: 103.6 kB / 1.009 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.209, allocations: 47.92 kB / 1.009 GB, free: 5.258 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.0001701/0.2092, allocations: 319.8 kB / 1.009 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.2093, allocations: 135.2 kB / 1.01 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/0.2098, allocations: 344.6 kB / 1.01 GB, free: 4.457 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.2098, allocations: 3.938 kB / 1.01 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2098, allocations: 3.938 kB / 1.01 GB, free: 4.449 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2098, allocations: 11.94 kB / 1.01 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.2112, allocations: 1.302 MB / 1.011 GB, free: 3.035 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2112, allocations: 4 kB / 1.011 GB, free: 3.031 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.2114, allocations: 79.88 kB / 1.011 GB, free: 2.953 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.2114, allocations: 4 kB / 1.011 GB, free: 2.949 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.2114, allocations: 12 kB / 1.011 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2114, allocations: 8.219 kB / 1.011 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.2114, allocations: 11.98 kB / 1.011 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.2119, allocations: 0.5845 MB / 1.012 GB, free: 2.254 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.2121, allocations: 179.1 kB / 1.012 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.029e-05/0.2122, allocations: 12.09 kB / 1.012 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.2125, allocations: 39.97 kB / 1.012 GB, free: 2.027 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/0.2126, allocations: 39.81 kB / 1.012 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.2126, allocations: 23.98 kB / 1.012 GB, free: 1.965 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0005266/0.2132, allocations: 0.6136 MB / 1.013 GB, free: 1.348 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.2132, allocations: 0 / 1.013 GB, free: 1.348 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001065/0.2142, allocations: 0.6624 MB / 1.013 GB, free: 0.6836 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.000302/0.2145, allocations: 174.9 kB / 1.014 GB, free: 0.5039 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0007423/0.2153, allocations: 0.5902 MB / 1.014 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.2153, allocations: 0 / 1.014 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.2154, allocations: 105.1 kB / 1.014 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.2166, allocations: 0.4929 MB / 1.015 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.2193, allocations: 2.06 MB / 1.017 GB, free: 13.15 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.2195, allocations: 255.3 kB / 1.017 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0006198/0.2201, allocations: 308.6 kB / 1.017 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.2202, allocations: 80.48 kB / 1.017 GB, free: 12.49 MB / 0.9792 GB Notification: Performance of SimCode: time 9.12e-07/0.2202, allocations: 0 / 1.017 GB, free: 12.49 MB / 0.9792 GB Notification: Performance of Templates: time 0.02049/0.2407, allocations: 18.02 MB / 1.035 GB, free: 10.87 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.477785303257406]