Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001011/0.001011, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.0009775/0.0009775, allocations: 169 kB / 23.82 MB, free: 0.7344 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.9474/0.9474, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.7/1.7, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Examples.Performance.Example4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.19e-05, allocations: 3.375 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.166/0.1661, allocations: 155.2 MB / 0.9386 GB, free: 0.8438 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01159/0.1776, allocations: 10.09 MB / 0.9484 GB, free: 6.727 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.1791, allocations: 91.25 kB / 0.9485 GB, free: 6.637 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0008926/0.18, allocations: 420.7 kB / 0.9489 GB, free: 6.223 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002668/0.1827, allocations: 1.655 MB / 0.9506 GB, free: 4.559 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.1851, allocations: 1.46 MB / 0.952 GB, free: 3.098 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.003035/0.1882, allocations: 3.432 MB / 0.9553 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.1893, allocations: 1.034 MB / 0.9563 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003076/0.1924, allocations: 2.151 MB / 0.9584 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009268/0.1933, allocations: 0.8761 MB / 0.9593 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.1935, allocations: 116 kB / 0.9594 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.1952, allocations: 1.138 MB / 0.9605 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.1956, allocations: 0.51 MB / 0.961 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0005019/0.1961, allocations: 0.5299 MB / 0.9615 GB, free: 9.363 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.1981, allocations: 1.748 MB / 0.9632 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1981, allocations: 0 / 0.9632 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1981, allocations: 4 kB / 0.9632 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.1981, allocations: 0 / 0.9632 GB, free: 7.605 MB / 0.9167 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.002285/0.2004, allocations: 1.977 MB / 0.9652 GB, free: 5.586 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.2004, allocations: 19.95 kB / 0.9652 GB, free: 5.566 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.2018, allocations: 0.5527 MB / 0.9657 GB, free: 5.012 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.203, allocations: 1.131 MB / 0.9668 GB, free: 3.824 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.924e-05/0.203, allocations: 78 kB / 0.9669 GB, free: 3.746 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.453e-05/0.2031, allocations: 92 kB / 0.967 GB, free: 3.656 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.2044, allocations: 1.189 MB / 0.9682 GB, free: 2.277 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.2045, allocations: 7.938 kB / 0.9682 GB, free: 2.27 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.749e-05/0.2045, allocations: 44 kB / 0.9682 GB, free: 2.227 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/0.2046, allocations: 45.98 kB / 0.9683 GB, free: 2.18 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006908/0.2053, allocations: 451.2 kB / 0.9687 GB, free: 1.738 MB / 0.9167 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.004661/0.2099, allocations: 7.311 MB / 0.9758 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.2104, allocations: 215.4 kB / 0.976 GB, free: 9.957 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.2105, allocations: 87.64 kB / 0.9761 GB, free: 9.867 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.2106, allocations: 19.98 kB / 0.9761 GB, free: 9.848 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.2107, allocations: 53.31 kB / 0.9762 GB, free: 9.785 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=32): time 1.763e-06/0.2107, allocations: 0 / 0.9762 GB, free: 9.785 MB / 0.9323 GB Notification: Performance of matching and sorting (n=32): time 0.0008361/0.2115, allocations: 401.5 kB / 0.9766 GB, free: 9.387 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.2115, allocations: 55.41 kB / 0.9766 GB, free: 9.32 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009366/0.2125, allocations: 1.055 MB / 0.9777 GB, free: 8.258 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.2125, allocations: 33.7 kB / 0.9777 GB, free: 8.219 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/0.2129, allocations: 0.8028 MB / 0.9785 GB, free: 7.406 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.672e-05/0.213, allocations: 123 kB / 0.9786 GB, free: 7.285 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.2132, allocations: 172.1 kB / 0.9788 GB, free: 7.105 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2133, allocations: 0.5043 MB / 0.9792 GB, free: 6.594 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.2135, allocations: 99.61 kB / 0.9793 GB, free: 6.492 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/0.214, allocations: 0.8417 MB / 0.9802 GB, free: 5.359 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005821/0.2146, allocations: 0.696 MB / 0.9808 GB, free: 4.445 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.2146, allocations: 4 kB / 0.9808 GB, free: 4.441 MB / 0.9323 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0007712/0.2154, allocations: 0.6548 MB / 0.9815 GB, free: 3.781 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.2154, allocations: 12 kB / 0.9815 GB, free: 3.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.2154, allocations: 11.98 kB / 0.9815 GB, free: 3.758 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.2154, allocations: 16 kB / 0.9815 GB, free: 3.742 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.2158, allocations: 184.3 kB / 0.9817 GB, free: 3.562 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/0.2158, allocations: 23.92 kB / 0.9817 GB, free: 3.539 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004623/0.2163, allocations: 127.2 kB / 0.9818 GB, free: 3.414 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/0.2164, allocations: 43.98 kB / 0.9819 GB, free: 3.371 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002872/0.2166, allocations: 232.8 kB / 0.9821 GB, free: 3.141 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004761/0.2171, allocations: 0.8375 MB / 0.9829 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005439/0.2177, allocations: 0.7024 MB / 0.9836 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.567e-06/0.2177, allocations: 4 kB / 0.9836 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0007383/0.2184, allocations: 0.6455 MB / 0.9842 GB, free: 444 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.2184, allocations: 12 kB / 0.9843 GB, free: 432 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2184, allocations: 12 kB / 0.9843 GB, free: 420 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.2184, allocations: 24 kB / 0.9843 GB, free: 396 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.2188, allocations: 179.7 kB / 0.9845 GB, free: 216 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.2188, allocations: 23.92 kB / 0.9845 GB, free: 192 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/0.2192, allocations: 103.6 kB / 0.9846 GB, free: 88 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.2193, allocations: 47.92 kB / 0.9846 GB, free: 40 kB / 0.9323 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.0001673/0.2194, allocations: 323.7 kB / 0.9849 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.2196, allocations: 135.2 kB / 0.9851 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004789/0.22, allocations: 342.2 kB / 0.9854 GB, free: 15.24 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2201, allocations: 4 kB / 0.9854 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2201, allocations: 0 / 0.9854 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.2201, allocations: 3.938 kB / 0.9854 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.2215, allocations: 1.308 MB / 0.9867 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2215, allocations: 8.469 kB / 0.9867 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.2217, allocations: 79.88 kB / 0.9868 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.2217, allocations: 4 kB / 0.9868 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.2217, allocations: 12 kB / 0.9868 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.2217, allocations: 8 kB / 0.9868 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/0.2217, allocations: 11.92 kB / 0.9868 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.2222, allocations: 0.5912 MB / 0.9874 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.2225, allocations: 187.1 kB / 0.9876 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/0.2225, allocations: 11.94 kB / 0.9876 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/0.2229, allocations: 35.97 kB / 0.9876 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.223, allocations: 39.83 kB / 0.9876 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.223, allocations: 19.98 kB / 0.9877 GB, free: 12.74 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005297/0.2235, allocations: 0.6175 MB / 0.9883 GB, free: 12.12 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.2235, allocations: 0 / 0.9883 GB, free: 12.12 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001078/0.2246, allocations: 0.6547 MB / 0.9889 GB, free: 11.46 MB / 0.948 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.0003207/0.2249, allocations: 178.2 kB / 0.9891 GB, free: 11.28 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007516/0.2257, allocations: 0.5908 MB / 0.9896 GB, free: 10.69 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2257, allocations: 4.125 kB / 0.9896 GB, free: 10.69 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.2258, allocations: 107.4 kB / 0.9897 GB, free: 10.58 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.227, allocations: 497.8 kB / 0.9902 GB, free: 10.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.23, allocations: 2.056 MB / 0.9922 GB, free: 7.93 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.2302, allocations: 255.3 kB / 0.9925 GB, free: 7.656 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006322/0.2308, allocations: 308.6 kB / 0.9928 GB, free: 7.352 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.2309, allocations: 80.48 kB / 0.9928 GB, free: 7.273 MB / 0.948 GB Notification: Performance of SimCode: time 9.42e-07/0.2309, allocations: 0 / 0.9928 GB, free: 7.273 MB / 0.948 GB Notification: Performance of Templates: time 0.02184/0.2528, allocations: 18.03 MB / 1.01 GB, free: 5.633 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.7230641869828105]