Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.169/1.169, allocations: 249.4 MB / 256.7 MB, free: 7.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 188.4 kB / 316 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.019/1.019, allocations: 205.2 MB / 0.5667 GB, free: 15.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008353/0.0008353, allocations: 89.88 kB / 0.671 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.54e-06/5.56e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1394, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.371/3.51, allocations: 2.224 GB / 3.109 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/3.51, allocations: 91.94 kB / 3.109 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.439/6.949, allocations: 1.405 GB / 4.513 GB, free: 93.83 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.789e-05/6.949, allocations: 39.91 kB / 4.513 GB, free: 93.8 MB / 0.9011 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.003375/6.953, allocations: 1.902 MB / 4.515 GB, free: 91.87 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/6.953, allocations: 12.02 kB / 4.515 GB, free: 91.86 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002493/6.955, allocations: 0.5288 MB / 4.516 GB, free: 91.32 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/6.957, allocations: 1.236 MB / 4.517 GB, free: 90.06 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008736/6.958, allocations: 269.7 kB / 4.517 GB, free: 89.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/6.958, allocations: 63.66 kB / 4.517 GB, free: 89.74 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001117/6.96, allocations: 0.7303 MB / 4.518 GB, free: 89.01 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/6.961, allocations: 1.064 MB / 4.519 GB, free: 87.84 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/6.961, allocations: 3.938 kB / 4.519 GB, free: 87.84 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.119e-05/6.961, allocations: 4 kB / 4.519 GB, free: 87.84 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/6.961, allocations: 49.98 kB / 4.519 GB, free: 87.79 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00556/6.967, allocations: 6.561 MB / 4.525 GB, free: 80.86 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/6.967, allocations: 460.6 kB / 4.526 GB, free: 80.38 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/6.967, allocations: 189.3 kB / 4.526 GB, free: 80.2 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003484/6.968, allocations: 364.7 kB / 4.526 GB, free: 79.77 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/6.968, allocations: 38.84 kB / 4.526 GB, free: 79.72 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 2.023e-06/6.968, allocations: 0 / 4.526 GB, free: 79.72 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.001149/6.969, allocations: 0.5257 MB / 4.527 GB, free: 79.19 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.683e-05/6.969, allocations: 55.41 kB / 4.527 GB, free: 79.12 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008062/6.97, allocations: 0.8266 MB / 4.528 GB, free: 78.29 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/6.97, allocations: 25.7 kB / 4.528 GB, free: 78.25 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/6.97, allocations: 0.5249 MB / 4.528 GB, free: 77.72 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.343e-05/6.97, allocations: 114.4 kB / 4.528 GB, free: 77.61 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/6.97, allocations: 0 / 4.528 GB, free: 77.61 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 5.003e-05/6.97, allocations: 338 kB / 4.529 GB, free: 77.27 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/6.97, allocations: 197.2 kB / 4.529 GB, free: 77.08 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/6.971, allocations: 0.5556 MB / 4.529 GB, free: 76.34 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/6.971, allocations: 306 kB / 4.53 GB, free: 76.05 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/6.971, allocations: 0 / 4.53 GB, free: 76.05 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001021/6.972, allocations: 0.7617 MB / 4.53 GB, free: 75.28 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005407/6.973, allocations: 4.088 MB / 4.534 GB, free: 70.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/6.973, allocations: 16 kB / 4.535 GB, free: 70.86 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/6.973, allocations: 19.94 kB / 4.535 GB, free: 70.84 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008169/6.974, allocations: 219.7 kB / 4.535 GB, free: 70.62 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/6.974, allocations: 23.92 kB / 4.535 GB, free: 70.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/6.975, allocations: 187.2 kB / 4.535 GB, free: 70.41 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.301e-05/6.975, allocations: 39.98 kB / 4.535 GB, free: 70.38 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.631e-06/6.975, allocations: 4 kB / 4.535 GB, free: 70.37 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008675/6.976, allocations: 0.6207 MB / 4.536 GB, free: 69.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/6.976, allocations: 12 kB / 4.536 GB, free: 69.74 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/6.976, allocations: 23.88 kB / 4.536 GB, free: 69.72 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007723/6.977, allocations: 212.2 kB / 4.536 GB, free: 69.51 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/6.977, allocations: 19.92 kB / 4.536 GB, free: 69.49 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009488/6.978, allocations: 159.4 kB / 4.536 GB, free: 69.34 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/6.978, allocations: 43.98 kB / 4.536 GB, free: 69.29 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001246/6.978, allocations: 132.6 kB / 4.536 GB, free: 69.16 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/6.978, allocations: 110.6 kB / 4.536 GB, free: 69.05 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008662/6.979, allocations: 0.4971 MB / 4.537 GB, free: 68.54 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/6.979, allocations: 8 kB / 4.537 GB, free: 68.53 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/6.979, allocations: 0 / 4.537 GB, free: 68.53 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/6.979, allocations: 3.984 kB / 4.537 GB, free: 68.53 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/6.981, allocations: 1.694 MB / 4.538 GB, free: 66.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/6.981, allocations: 4 kB / 4.538 GB, free: 66.74 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005183/6.982, allocations: 104 kB / 4.539 GB, free: 66.64 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/6.982, allocations: 4 kB / 4.539 GB, free: 66.64 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/6.982, allocations: 11.98 kB / 4.539 GB, free: 66.62 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/6.982, allocations: 12 kB / 4.539 GB, free: 66.61 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/6.982, allocations: 7.938 kB / 4.539 GB, free: 66.61 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006788/6.982, allocations: 0.8426 MB / 4.539 GB, free: 65.63 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/6.983, allocations: 259.5 kB / 4.54 GB, free: 65.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/6.983, allocations: 8 kB / 4.54 GB, free: 65.35 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009118/6.984, allocations: 107.8 kB / 4.54 GB, free: 65.25 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/6.984, allocations: 31.95 kB / 4.54 GB, free: 65.21 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/6.984, allocations: 23.89 kB / 4.54 GB, free: 65.19 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.0005894/6.985, allocations: 0.6241 MB / 4.54 GB, free: 64.56 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002106/6.987, allocations: 0.8185 MB / 4.541 GB, free: 63.74 MB / 0.9011 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003277/6.99, allocations: 3.511 MB / 4.545 GB, free: 60.32 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001044/6.991, allocations: 0.8222 MB / 4.545 GB, free: 59.5 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/6.991, allocations: 0 / 4.545 GB, free: 59.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002282/6.991, allocations: 188.9 kB / 4.546 GB, free: 59.32 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/6.993, allocations: 382.6 kB / 4.546 GB, free: 58.95 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/6.997, allocations: 1.672 MB / 4.548 GB, free: 57.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007153/6.997, allocations: 1.299 MB / 4.549 GB, free: 55.87 MB / 0.9011 GB Notification: Performance of SimCode: time 3.31e-07/6.997, allocations: 0 / 4.549 GB, free: 55.87 MB / 0.9011 GB Notification: Performance of Templates: time 0.04484/7.042, allocations: 36.41 MB / 4.584 GB, free: 19.69 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_Example4.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches