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.001221/0.001221, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.00136/0.00136, allocations: 173 kB / 24.28 MB, free: 272 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.9398/0.9398, allocations: 177.1 MB / 204.6 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.824/1.824, allocations: 377.8 MB / 0.6239 GB, free: 8.574 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.523e-06/1.523e-06, allocations: 0.9844 kB / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.795e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2145/0.2145, allocations: 236.7 MB / 1.043 GB, free: 4.578 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.496/0.7105, allocations: 16.09 MB / 1.058 GB, free: 48.39 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002364/0.7129, allocations: 88.28 kB / 1.059 GB, free: 48.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002446/0.7154, allocations: 1.026 MB / 1.06 GB, free: 48.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.007184/0.7225, allocations: 3.168 MB / 1.063 GB, free: 48.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003795/0.7263, allocations: 1.77 MB / 1.064 GB, free: 48.25 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004651/0.731, allocations: 3.486 MB / 1.068 GB, free: 48.01 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.7326, allocations: 1.036 MB / 1.069 GB, free: 47.88 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006706/0.7393, allocations: 3.33 MB / 1.072 GB, free: 47.52 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002237/0.7415, allocations: 1.013 MB / 1.073 GB, free: 47.39 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003208/0.7419, allocations: 119.2 kB / 1.073 GB, free: 47.39 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004748/0.7466, allocations: 2.581 MB / 1.076 GB, free: 47.14 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005792/0.7472, allocations: 0.5108 MB / 1.076 GB, free: 47.06 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.7482, allocations: 0.5428 MB / 1.077 GB, free: 46.99 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.005425/0.7536, allocations: 2.379 MB / 1.079 GB, free: 46.69 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.7536, allocations: 0 / 1.079 GB, free: 46.69 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7536, allocations: 2.844 kB / 1.079 GB, free: 46.69 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.328e-05/0.7537, allocations: 0.9375 kB / 1.079 GB, free: 46.69 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.003164/0.7569, allocations: 2.095 MB / 1.081 GB, free: 45.57 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.7569, allocations: 10.5 kB / 1.081 GB, free: 45.57 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/0.7588, allocations: 0.5807 MB / 1.082 GB, free: 45.45 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.7606, allocations: 1.171 MB / 1.083 GB, free: 45.07 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.319e-05/0.7606, allocations: 83.16 kB / 1.083 GB, free: 45.07 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.833e-05/0.7607, allocations: 98.56 kB / 1.083 GB, free: 45.07 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.7621, allocations: 1.181 MB / 1.084 GB, free: 44.45 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.7621, allocations: 5.812 kB / 1.084 GB, free: 44.45 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8e-05/0.7622, allocations: 47.62 kB / 1.084 GB, free: 44.45 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-05/0.7623, allocations: 45.53 kB / 1.084 GB, free: 44.45 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.7633, allocations: 458.8 kB / 1.085 GB, free: 44.44 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.004774/0.7681, allocations: 7.3 MB / 1.092 GB, free: 39.13 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.7686, allocations: 214.2 kB / 1.092 GB, free: 39.09 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.7688, allocations: 90.2 kB / 1.092 GB, free: 39.08 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/0.769, allocations: 56.44 kB / 1.092 GB, free: 39.08 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.769, allocations: 44.39 kB / 1.092 GB, free: 39.04 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=33): time 2.295e-06/0.769, allocations: 0 / 1.092 GB, free: 39.04 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33): time 0.0009265/0.7699, allocations: 417.8 kB / 1.093 GB, free: 38.93 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.77, allocations: 55.28 kB / 1.093 GB, free: 38.87 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.771, allocations: 1.056 MB / 1.094 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.771, allocations: 32.02 kB / 1.094 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003741/0.7714, allocations: 0.8003 MB / 1.094 GB, free: 38.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.632e-05/0.7715, allocations: 130.3 kB / 1.095 GB, free: 38.12 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.7717, allocations: 174.7 kB / 1.095 GB, free: 38.09 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.517e-05/0.7718, allocations: 0.506 MB / 1.095 GB, free: 37.61 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.772, allocations: 100.9 kB / 1.095 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/0.7724, allocations: 0.909 MB / 1.096 GB, free: 36.56 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/0.7731, allocations: 0.7041 MB / 1.097 GB, free: 35.95 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.7731, allocations: 4.719 kB / 1.097 GB, free: 35.95 MB / 0.9948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001056/0.7741, allocations: 0.655 MB / 1.098 GB, free: 35.86 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.7742, allocations: 12.19 kB / 1.098 GB, free: 35.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.7742, allocations: 11.03 kB / 1.098 GB, free: 35.86 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.671e-05/0.7742, allocations: 16.05 kB / 1.098 GB, free: 35.86 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/0.7747, allocations: 186.3 kB / 1.098 GB, free: 35.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-05/0.7748, allocations: 25.72 kB / 1.098 GB, free: 35.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006967/0.7755, allocations: 119 kB / 1.098 GB, free: 35.82 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/0.7755, allocations: 45.45 kB / 1.098 GB, free: 35.82 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003765/0.7759, allocations: 231.3 kB / 1.098 GB, free: 35.69 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004792/0.7764, allocations: 0.9089 MB / 1.099 GB, free: 34.66 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006066/0.777, allocations: 0.708 MB / 1.1 GB, free: 34.04 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.456e-06/0.777, allocations: 4.5 kB / 1.1 GB, free: 34.04 MB / 0.9948 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001025/0.778, allocations: 0.6546 MB / 1.1 GB, free: 33.95 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.7781, allocations: 14.22 kB / 1.1 GB, free: 33.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.7781, allocations: 11.06 kB / 1.1 GB, free: 33.95 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.7781, allocations: 16.22 kB / 1.1 GB, free: 33.95 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/0.7785, allocations: 194.3 kB / 1.101 GB, free: 33.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/0.7785, allocations: 21.66 kB / 1.101 GB, free: 33.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006035/0.7791, allocations: 96.39 kB / 1.101 GB, free: 33.92 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.205e-05/0.7792, allocations: 49.12 kB / 1.101 GB, free: 33.92 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.0001914/0.7794, allocations: 323.2 kB / 1.101 GB, free: 33.64 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.7795, allocations: 137.6 kB / 1.101 GB, free: 33.57 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006379/0.7802, allocations: 357.2 kB / 1.102 GB, free: 33.51 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.7802, allocations: 5.141 kB / 1.102 GB, free: 33.51 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7802, allocations: 0 / 1.102 GB, free: 33.51 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.7802, allocations: 6.453 kB / 1.102 GB, free: 33.5 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.7821, allocations: 1.313 MB / 1.103 GB, free: 33.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.7821, allocations: 4.672 kB / 1.103 GB, free: 33.02 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.7824, allocations: 81.45 kB / 1.103 GB, free: 33.02 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.7824, allocations: 6.031 kB / 1.103 GB, free: 33.02 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.7824, allocations: 14.06 kB / 1.103 GB, free: 33.02 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.328e-06/0.7824, allocations: 6.188 kB / 1.103 GB, free: 33.02 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.7824, allocations: 7.656 kB / 1.103 GB, free: 33.02 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005684/0.783, allocations: 0.5873 MB / 1.103 GB, free: 32.58 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002762/0.7833, allocations: 190 kB / 1.104 GB, free: 32.51 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.7834, allocations: 11.52 kB / 1.104 GB, free: 32.51 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.7838, allocations: 38.5 kB / 1.104 GB, free: 32.51 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-05/0.7838, allocations: 37.14 kB / 1.104 GB, free: 32.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.7839, allocations: 22.2 kB / 1.104 GB, free: 32.5 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007323/0.7846, allocations: 0.6181 MB / 1.104 GB, free: 32.35 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.7846, allocations: 0 / 1.104 GB, free: 32.35 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00157/0.7862, allocations: 0.6603 MB / 1.105 GB, free: 32.25 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.000434/0.7866, allocations: 254.7 kB / 1.105 GB, free: 32.14 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001087/0.7877, allocations: 0.5993 MB / 1.106 GB, free: 32.11 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.7877, allocations: 1.062 kB / 1.106 GB, free: 32.11 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.7879, allocations: 108.8 kB / 1.106 GB, free: 32.1 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.7893, allocations: 0.4948 MB / 1.106 GB, free: 32.05 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/0.7929, allocations: 2.061 MB / 1.108 GB, free: 30.96 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.7931, allocations: 262.9 kB / 1.109 GB, free: 30.86 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.00107/0.7942, allocations: 309.1 kB / 1.109 GB, free: 30.83 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.7944, allocations: 78.89 kB / 1.109 GB, free: 30.82 MB / 0.9948 GB Notification: Performance of SimCode: time 2.194e-06/0.7944, allocations: 1.125 kB / 1.109 GB, free: 30.82 MB / 0.9948 GB Notification: Performance of Templates: time 0.02806/0.8225, allocations: 18.09 MB / 1.127 GB, free: 28.88 MB / 0.9948 GB " [Timeout remaining time 299] 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: 6.110312139848247]