Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example3") [: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 9.1.1-maint.9.1.x/package.mo): time 2.087/2.087, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 177.3 kB / 487 MB, free: 5.359 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 221.3 MB / 0.7819 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 104.9 kB / 0.9213 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.363e-06/7.394e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2759, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9615/1.237, allocations: 402 MB / 1.598 GB, free: 4.531 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/1.238, allocations: 87.5 kB / 1.598 GB, free: 4.488 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.669/3.907, allocations: 0.7043 GB / 2.302 GB, free: 275.5 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0004362/3.908, allocations: 46.62 kB / 2.302 GB, free: 275.5 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.00704/3.915, allocations: 1.843 MB / 2.304 GB, free: 274.1 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/3.915, allocations: 10.94 kB / 2.304 GB, free: 274.1 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002996/3.918, allocations: 390.2 kB / 2.304 GB, free: 274 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009646/3.928, allocations: 2.59 MB / 2.307 GB, free: 272.4 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/3.928, allocations: 29.84 kB / 2.307 GB, free: 272.4 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004979/3.928, allocations: 70.69 kB / 2.307 GB, free: 272.4 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002651/3.931, allocations: 0.871 MB / 2.308 GB, free: 272 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/3.934, allocations: 1.089 MB / 2.309 GB, free: 271.3 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.527e-05/3.934, allocations: 1.656 kB / 2.309 GB, free: 271.3 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/3.934, allocations: 2.594 kB / 2.309 GB, free: 271.3 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.904e-05/3.934, allocations: 24.06 kB / 2.309 GB, free: 271.3 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/3.945, allocations: 6.614 MB / 2.315 GB, free: 265.6 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/3.946, allocations: 0.582 MB / 2.316 GB, free: 265.3 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006525/3.947, allocations: 379.1 kB / 2.316 GB, free: 265.1 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003952/3.951, allocations: 1.687 MB / 2.318 GB, free: 263.6 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004518/3.951, allocations: 327.7 kB / 2.318 GB, free: 263.3 MB / 1.135 GB Notification: Performance of pre-optimization done (n=47): time 3.908e-06/3.951, allocations: 0 / 2.318 GB, free: 263.3 MB / 1.135 GB Notification: Performance of matching and sorting (n=47): time 0.002321/3.954, allocations: 0.841 MB / 2.319 GB, free: 262.4 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/3.954, allocations: 63.16 kB / 2.319 GB, free: 262.4 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/3.956, allocations: 1.387 MB / 2.321 GB, free: 261 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-05/3.956, allocations: 29.7 kB / 2.321 GB, free: 260.9 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005915/3.957, allocations: 0.5525 MB / 2.321 GB, free: 260.4 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/3.957, allocations: 149.8 kB / 2.321 GB, free: 260.2 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/3.957, allocations: 0 / 2.321 GB, free: 260.2 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 8.884e-05/3.957, allocations: 341.9 kB / 2.322 GB, free: 259.9 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/3.958, allocations: 273.2 kB / 2.322 GB, free: 259.6 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/3.958, allocations: 0.7018 MB / 2.323 GB, free: 258.7 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/3.959, allocations: 423.2 kB / 2.323 GB, free: 258.3 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/3.959, allocations: 4 kB / 2.323 GB, free: 258.3 MB / 1.135 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002495/3.962, allocations: 1.154 MB / 2.324 GB, free: 257.2 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.001038/3.963, allocations: 4.062 MB / 2.328 GB, free: 252.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.611e-05/3.963, allocations: 19.34 kB / 2.328 GB, free: 252.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003406/3.963, allocations: 117.7 kB / 2.328 GB, free: 252.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007923/3.964, allocations: 194.2 kB / 2.328 GB, free: 252.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006445/3.965, allocations: 0.799 MB / 2.329 GB, free: 251.7 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/3.967, allocations: 144.6 kB / 2.329 GB, free: 251.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/3.967, allocations: 47.98 kB / 2.329 GB, free: 251.5 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/3.967, allocations: 4 kB / 2.329 GB, free: 251.5 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001984/3.969, allocations: 0.9417 MB / 2.33 GB, free: 250.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.919e-05/3.969, allocations: 15.91 kB / 2.33 GB, free: 250.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002449/3.969, allocations: 118.2 kB / 2.33 GB, free: 250.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007158/3.97, allocations: 182.7 kB / 2.331 GB, free: 250.2 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/3.972, allocations: 1.976 MB / 2.332 GB, free: 248.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/3.974, allocations: 117.8 kB / 2.333 GB, free: 248 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/3.974, allocations: 43.98 kB / 2.333 GB, free: 248 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.000288/3.974, allocations: 142.8 kB / 2.333 GB, free: 247.8 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004319/3.975, allocations: 161.9 kB / 2.333 GB, free: 247.7 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/3.977, allocations: 1.003 MB / 2.334 GB, free: 246.7 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/3.977, allocations: 7.984 kB / 2.334 GB, free: 246.7 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/3.977, allocations: 0 / 2.334 GB, free: 246.7 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00119/3.978, allocations: 0.909 MB / 2.335 GB, free: 245.7 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003945/3.982, allocations: 1.973 MB / 2.337 GB, free: 243.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/3.982, allocations: 0 / 2.337 GB, free: 243.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005845/3.983, allocations: 106.7 kB / 2.337 GB, free: 243.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002035/3.983, allocations: 96.8 kB / 2.337 GB, free: 243.5 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/3.983, allocations: 15.98 kB / 2.337 GB, free: 243.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004511/3.983, allocations: 0.7504 MB / 2.338 GB, free: 242.7 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/3.983, allocations: 0 / 2.338 GB, free: 242.7 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001905/3.985, allocations: 1.331 MB / 2.339 GB, free: 241.4 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008022/3.986, allocations: 310.8 kB / 2.339 GB, free: 241.1 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000438/3.987, allocations: 11.48 kB / 2.339 GB, free: 241.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/3.988, allocations: 70.36 kB / 2.339 GB, free: 241 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/3.988, allocations: 48.31 kB / 2.339 GB, free: 241 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.529e-05/3.988, allocations: 23.98 kB / 2.339 GB, free: 240.9 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.001553/3.989, allocations: 1.067 MB / 2.34 GB, free: 239.9 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.003763/3.993, allocations: 0.846 MB / 2.341 GB, free: 239 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001982/3.995, allocations: 0.7897 MB / 2.342 GB, free: 238.4 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.002364/3.998, allocations: 1.318 MB / 2.343 GB, free: 237 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/3.998, allocations: 0 / 2.343 GB, free: 237 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0004869/3.998, allocations: 317.4 kB / 2.344 GB, free: 236.7 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/4.001, allocations: 0.5927 MB / 2.344 GB, free: 236.2 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005148/4.006, allocations: 2.304 MB / 2.346 GB, free: 233.9 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001527/4.008, allocations: 1.668 MB / 2.348 GB, free: 232.2 MB / 1.135 GB Notification: Performance of SimCode: time 5.72e-07/4.008, allocations: 0 / 2.348 GB, free: 232.2 MB / 1.135 GB Notification: Performance of Templates: time 0.05653/4.064, allocations: 33.66 MB / 2.381 GB, free: 199.5 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example3.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches