Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009623/0.0009623, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009225/0.0009225, allocations: 181 kB / 23.36 MB, free: 1.133 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.9085/0.9085, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.328/2.328, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Examples.Performance.Example4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.982e-05, allocations: 10.25 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.1643/0.1643, allocations: 154.6 MB / 0.9896 GB, free: 2.949 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01442/0.1787, allocations: 11.27 MB / 1.001 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/0.181, allocations: 99.12 kB / 1.001 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.1821, allocations: 432.6 kB / 1.001 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.00346/0.1855, allocations: 1.682 MB / 1.003 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.003304/0.1889, allocations: 1.878 MB / 1.005 GB, free: 3.555 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.004271/0.1931, allocations: 3.51 MB / 1.008 GB, free: 32 kB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.1946, allocations: 1.045 MB / 1.009 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003562/0.1982, allocations: 2.195 MB / 1.011 GB, free: 12.85 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.1994, allocations: 0.8292 MB / 1.012 GB, free: 12.02 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.1996, allocations: 120 kB / 1.012 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.2013, allocations: 1.13 MB / 1.013 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0006351/0.202, allocations: 0.5255 MB / 1.014 GB, free: 10.24 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0005616/0.2025, allocations: 0.5571 MB / 1.014 GB, free: 9.684 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.2048, allocations: 1.798 MB / 1.016 GB, free: 7.879 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2048, allocations: 4 kB / 1.016 GB, free: 7.875 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2048, allocations: 0 / 1.016 GB, free: 7.875 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 3.625e-05/0.2049, allocations: 4 kB / 1.016 GB, free: 7.871 MB / 0.9792 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.002262/0.2071, allocations: 1.961 MB / 1.018 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.2072, allocations: 8.625 kB / 1.018 GB, free: 5.871 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.2084, allocations: 0.5107 MB / 1.018 GB, free: 5.359 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.2094, allocations: 0.9309 MB / 1.019 GB, free: 4.375 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.6e-05/0.2095, allocations: 89.98 kB / 1.019 GB, free: 4.285 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.576e-05/0.2096, allocations: 111.9 kB / 1.02 GB, free: 4.176 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009491/0.2105, allocations: 1.039 MB / 1.021 GB, free: 2.992 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.2106, allocations: 3.938 kB / 1.021 GB, free: 2.988 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.89e-05/0.2106, allocations: 43.98 kB / 1.021 GB, free: 2.945 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/0.2107, allocations: 49.98 kB / 1.021 GB, free: 2.895 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.2111, allocations: 359 kB / 1.021 GB, free: 2.543 MB / 0.9792 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.003993/0.2151, allocations: 5.217 MB / 1.026 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.2154, allocations: 221.8 kB / 1.026 GB, free: 12.9 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.329e-05/0.2155, allocations: 83.5 kB / 1.026 GB, free: 12.81 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.2156, allocations: 23.98 kB / 1.026 GB, free: 12.79 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.2156, allocations: 38.56 kB / 1.026 GB, free: 12.74 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.2156, allocations: 3.938 kB / 1.026 GB, free: 12.74 MB / 0.9948 GB Notification: Performance of matching and sorting (n=32): time 0.0005406/0.2162, allocations: 281.4 kB / 1.027 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.2162, allocations: 63.33 kB / 1.027 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007344/0.217, allocations: 1.039 MB / 1.028 GB, free: 11.33 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.217, allocations: 37.7 kB / 1.028 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.2172, allocations: 0.6073 MB / 1.028 GB, free: 10.67 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.745e-05/0.2173, allocations: 119 kB / 1.029 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.2175, allocations: 214.3 kB / 1.029 GB, free: 10.33 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.2176, allocations: 345.9 kB / 1.029 GB, free: 9.988 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.2177, allocations: 91.64 kB / 1.029 GB, free: 9.895 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.2181, allocations: 0.8326 MB / 1.03 GB, free: 8.75 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/0.2186, allocations: 0.7761 MB / 1.031 GB, free: 7.73 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.2186, allocations: 8 kB / 1.031 GB, free: 7.723 MB / 0.9948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0006161/0.2192, allocations: 0.6258 MB / 1.031 GB, free: 7.09 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.2192, allocations: 12 kB / 1.031 GB, free: 7.078 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.2193, allocations: 16 kB / 1.031 GB, free: 7.062 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.2193, allocations: 24 kB / 1.031 GB, free: 7.039 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.2197, allocations: 236.3 kB / 1.032 GB, free: 6.809 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.2197, allocations: 39.8 kB / 1.032 GB, free: 6.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005526/0.2203, allocations: 159.1 kB / 1.032 GB, free: 6.613 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.2203, allocations: 47.98 kB / 1.032 GB, free: 6.566 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002464/0.2206, allocations: 187.8 kB / 1.032 GB, free: 6.375 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003854/0.221, allocations: 0.8362 MB / 1.033 GB, free: 5.23 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007411/0.2217, allocations: 0.767 MB / 1.034 GB, free: 4.219 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.849e-06/0.2217, allocations: 4 kB / 1.034 GB, free: 4.215 MB / 0.9948 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.0005872/0.2223, allocations: 0.6323 MB / 1.034 GB, free: 3.574 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2223, allocations: 16 kB / 1.034 GB, free: 3.559 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.2223, allocations: 16 kB / 1.034 GB, free: 3.543 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2223, allocations: 24 kB / 1.034 GB, free: 3.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.2227, allocations: 231.6 kB / 1.034 GB, free: 3.293 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.177e-05/0.2227, allocations: 35.86 kB / 1.035 GB, free: 3.258 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004725/0.2232, allocations: 123.5 kB / 1.035 GB, free: 3.137 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.244e-05/0.2232, allocations: 47.98 kB / 1.035 GB, free: 3.09 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (114): * Single equations (assignments): 114 * 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.0001599/0.2234, allocations: 251.8 kB / 1.035 GB, free: 2.836 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.751e-05/0.2235, allocations: 79.91 kB / 1.035 GB, free: 2.758 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.2238, allocations: 291.3 kB / 1.035 GB, free: 2.457 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2238, allocations: 7.938 kB / 1.035 GB, free: 2.449 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2238, allocations: 3.938 kB / 1.035 GB, free: 2.445 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2239, allocations: 0 / 1.035 GB, free: 2.445 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.225, allocations: 1.006 MB / 1.036 GB, free: 1.344 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.225, allocations: 4 kB / 1.036 GB, free: 1.34 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.2251, allocations: 71.89 kB / 1.036 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.2251, allocations: 4 kB / 1.036 GB, free: 1.266 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.2252, allocations: 11.98 kB / 1.036 GB, free: 1.254 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.2252, allocations: 11.94 kB / 1.036 GB, free: 1.242 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.2252, allocations: 4 kB / 1.036 GB, free: 1.238 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.2255, allocations: 492.7 kB / 1.037 GB, free: 0.6758 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.2257, allocations: 159 kB / 1.037 GB, free: 0.5195 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.922e-05/0.2258, allocations: 19.92 kB / 1.037 GB, free: 0.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.2261, allocations: 39.97 kB / 1.037 GB, free: 472 kB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.2261, allocations: 31.89 kB / 1.037 GB, free: 440 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.2262, allocations: 15.98 kB / 1.037 GB, free: 424 kB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003483/0.2265, allocations: 0.4924 MB / 1.038 GB, free: 15.91 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.2265, allocations: 0 / 1.038 GB, free: 15.91 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001195/0.2277, allocations: 0.6859 MB / 1.038 GB, free: 15.23 MB / 1.01 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.0002724/0.228, allocations: 168 kB / 1.038 GB, free: 15.06 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006786/0.2287, allocations: 0.6477 MB / 1.039 GB, free: 14.41 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.129e-05/0.2287, allocations: 16.5 kB / 1.039 GB, free: 14.39 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.2288, allocations: 88.55 kB / 1.039 GB, free: 14.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.2299, allocations: 0.5036 MB / 1.04 GB, free: 13.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.2328, allocations: 2.136 MB / 1.042 GB, free: 11.57 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.233, allocations: 263.8 kB / 1.042 GB, free: 11.29 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000606/0.2336, allocations: 233.6 kB / 1.042 GB, free: 11.06 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000631/0.2342, allocations: 396.9 kB / 1.043 GB, free: 10.67 MB / 1.01 GB Notification: Performance of SimCode: time 1.283e-06/0.2342, allocations: 0 / 1.043 GB, free: 10.67 MB / 1.01 GB Notification: Performance of Templates: time 0.3666/0.6008, allocations: 19.05 MB / 1.061 GB, free: 78.83 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.147408802062273]