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.001012/0.001012, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001505/0.001505, allocations: 169.3 kB / 24.28 MB, free: 280 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 0.9385/0.9385, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.773/1.773, allocations: 359 MB / 0.6055 GB, free: 10.97 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.373e-06/1.373e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.381e-05/2.519e-05, allocations: 9.062 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.1904/0.1905, allocations: 236.7 MB / 1.018 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01571/0.2062, allocations: 16.11 MB / 1.034 GB, free: 15.22 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.2075, allocations: 91.25 kB / 1.034 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001782/0.2093, allocations: 1.021 MB / 1.035 GB, free: 14.11 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004852/0.2141, allocations: 3.187 MB / 1.038 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002959/0.2171, allocations: 1.76 MB / 1.04 GB, free: 9.137 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002827/0.2199, allocations: 3.518 MB / 1.043 GB, free: 5.605 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009591/0.2209, allocations: 1.034 MB / 1.044 GB, free: 4.535 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004106/0.225, allocations: 3.062 MB / 1.047 GB, free: 1.5 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.2261, allocations: 1.023 MB / 1.048 GB, free: 0.5078 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.2262, allocations: 124 kB / 1.048 GB, free: 396 kB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4484/0.6746, allocations: 2.607 MB / 1.051 GB, free: 55.58 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0007498/0.6753, allocations: 0.5113 MB / 1.051 GB, free: 55.58 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.6764, allocations: 0.5415 MB / 1.052 GB, free: 55.58 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004171/0.6806, allocations: 2.377 MB / 1.054 GB, free: 55.58 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6806, allocations: 0 / 1.054 GB, free: 55.58 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6806, allocations: 0 / 1.054 GB, free: 55.58 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.728e-05/0.6807, allocations: 1.094 kB / 1.054 GB, free: 55.58 MB / 0.9948 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.002475/0.6831, allocations: 2.095 MB / 1.056 GB, free: 54.48 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.6832, allocations: 9.312 kB / 1.056 GB, free: 54.48 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.6848, allocations: 0.5851 MB / 1.057 GB, free: 54.36 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.6862, allocations: 1.167 MB / 1.058 GB, free: 53.98 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.163e-05/0.6862, allocations: 80.91 kB / 1.058 GB, free: 53.98 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.6863, allocations: 102.1 kB / 1.058 GB, free: 53.98 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.6875, allocations: 1.179 MB / 1.059 GB, free: 53.36 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.6875, allocations: 6 kB / 1.059 GB, free: 53.36 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.975e-05/0.6876, allocations: 45.38 kB / 1.059 GB, free: 53.36 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-05/0.6877, allocations: 46.22 kB / 1.059 GB, free: 53.36 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007084/0.6884, allocations: 459.2 kB / 1.06 GB, free: 53.35 MB / 0.9948 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.003823/0.6922, allocations: 7.303 MB / 1.067 GB, free: 48.07 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.6927, allocations: 223.5 kB / 1.067 GB, free: 48.03 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.6928, allocations: 88.97 kB / 1.067 GB, free: 48.02 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/0.693, allocations: 56.92 kB / 1.067 GB, free: 48.02 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.693, allocations: 42.88 kB / 1.067 GB, free: 47.97 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=33): time 2.094e-06/0.693, allocations: 3.188 kB / 1.067 GB, free: 47.97 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33): time 0.000766/0.6938, allocations: 417 kB / 1.068 GB, free: 47.86 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.6938, allocations: 54.5 kB / 1.068 GB, free: 47.8 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008323/0.6946, allocations: 1.055 MB / 1.069 GB, free: 47.57 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.6947, allocations: 32.58 kB / 1.069 GB, free: 47.54 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.695, allocations: 0.7925 MB / 1.07 GB, free: 47.15 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/0.6951, allocations: 125.5 kB / 1.07 GB, free: 47.07 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.6952, allocations: 172.5 kB / 1.07 GB, free: 47.03 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.45e-05/0.6953, allocations: 0.5094 MB / 1.071 GB, free: 46.55 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.6954, allocations: 99.86 kB / 1.071 GB, free: 46.54 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.6958, allocations: 0.907 MB / 1.071 GB, free: 45.51 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/0.6963, allocations: 0.6992 MB / 1.072 GB, free: 44.9 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.6963, allocations: 10.02 kB / 1.072 GB, free: 44.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007956/0.6971, allocations: 0.6633 MB / 1.073 GB, free: 44.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.6971, allocations: 12.45 kB / 1.073 GB, free: 44.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.6971, allocations: 11.72 kB / 1.073 GB, free: 44.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.6972, allocations: 17.62 kB / 1.073 GB, free: 44.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.6976, allocations: 182.5 kB / 1.073 GB, free: 44.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.191e-05/0.6976, allocations: 22.84 kB / 1.073 GB, free: 44.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/0.6981, allocations: 124.2 kB / 1.073 GB, free: 44.76 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/0.6981, allocations: 46.97 kB / 1.073 GB, free: 44.76 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002733/0.6984, allocations: 230.5 kB / 1.073 GB, free: 44.63 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003681/0.6988, allocations: 0.9051 MB / 1.074 GB, free: 43.6 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005094/0.6993, allocations: 0.7049 MB / 1.075 GB, free: 42.99 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/0.6993, allocations: 3.438 kB / 1.075 GB, free: 42.99 MB / 0.9948 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.0007485/0.7, allocations: 0.6637 MB / 1.076 GB, free: 42.89 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.7, allocations: 11.75 kB / 1.076 GB, free: 42.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.7, allocations: 11.69 kB / 1.076 GB, free: 42.89 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.7001, allocations: 14.69 kB / 1.076 GB, free: 42.89 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.7004, allocations: 186.8 kB / 1.076 GB, free: 42.89 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.7004, allocations: 29.42 kB / 1.076 GB, free: 42.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.7008, allocations: 98.89 kB / 1.076 GB, free: 42.87 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.7009, allocations: 44.44 kB / 1.076 GB, free: 42.87 MB / 0.9948 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 (88): * Single equations (assignments): 88 * 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.0001331/0.701, allocations: 319.2 kB / 1.076 GB, free: 42.6 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.7011, allocations: 136.3 kB / 1.076 GB, free: 42.53 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/0.7016, allocations: 356.8 kB / 1.077 GB, free: 42.46 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.7016, allocations: 5.922 kB / 1.077 GB, free: 42.46 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7016, allocations: 1.031 kB / 1.077 GB, free: 42.46 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.7016, allocations: 9.812 kB / 1.077 GB, free: 42.46 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.703, allocations: 1.31 MB / 1.078 GB, free: 41.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.703, allocations: 6.953 kB / 1.078 GB, free: 41.97 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.7031, allocations: 76.59 kB / 1.078 GB, free: 41.97 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.7032, allocations: 9.344 kB / 1.078 GB, free: 41.97 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.7032, allocations: 15.3 kB / 1.078 GB, free: 41.97 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.7032, allocations: 9.875 kB / 1.078 GB, free: 41.97 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7032, allocations: 2.844 kB / 1.078 GB, free: 41.97 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.7036, allocations: 0.5947 MB / 1.079 GB, free: 41.53 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.7038, allocations: 186.6 kB / 1.079 GB, free: 41.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-05/0.7039, allocations: 11.06 kB / 1.079 GB, free: 41.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.7043, allocations: 42.77 kB / 1.079 GB, free: 41.46 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.7043, allocations: 38.2 kB / 1.079 GB, free: 41.46 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.7044, allocations: 21.08 kB / 1.079 GB, free: 41.46 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000475/0.7048, allocations: 0.6165 MB / 1.08 GB, free: 41.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7048, allocations: 1 kB / 1.08 GB, free: 41.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001168/0.706, allocations: 0.6651 MB / 1.08 GB, free: 41.2 MB / 0.9948 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 (32): * Single equations (assignments): 32 * 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.0003568/0.7064, allocations: 247.1 kB / 1.081 GB, free: 41.1 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007731/0.7071, allocations: 0.593 MB / 1.081 GB, free: 41.07 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7071, allocations: 0.9688 kB / 1.081 GB, free: 41.07 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.7073, allocations: 122.3 kB / 1.081 GB, free: 41.05 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.7085, allocations: 497.8 kB / 1.082 GB, free: 41.04 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.7111, allocations: 2.057 MB / 1.084 GB, free: 39.95 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.7112, allocations: 256.4 kB / 1.084 GB, free: 39.86 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0007282/0.712, allocations: 307.1 kB / 1.084 GB, free: 39.84 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.7122, allocations: 79.44 kB / 1.084 GB, free: 39.83 MB / 0.9948 GB Notification: Performance of SimCode: time 7.72e-07/0.7122, allocations: 2.828 kB / 1.084 GB, free: 39.83 MB / 0.9948 GB Notification: Performance of Templates: time 0.02909/0.7412, allocations: 18.06 MB / 1.102 GB, free: 38.06 MB / 0.9948 GB " [Timeout remaining time 299] 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: 6.028552609030157]