Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example4.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.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.134/2.134, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001177/0.001177, allocations: 180.8 kB / 487 MB, free: 5.371 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.548/1.548, allocations: 221.3 MB / 0.7819 GB, free: 1.402 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.001193/0.001193, allocations: 90.86 kB / 0.9213 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.828e-06/9.858e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3103, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.392/4.702, allocations: 1.951 GB / 3.156 GB, free: 316.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/4.702, allocations: 82.14 kB / 3.156 GB, free: 316.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.673/9.375, allocations: 1.47 GB / 4.626 GB, free: 157.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001198/9.375, allocations: 39.75 kB / 4.626 GB, free: 157.4 MB / 1.167 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.005267/9.38, allocations: 1.909 MB / 4.627 GB, free: 155.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/9.381, allocations: 15.38 kB / 4.628 GB, free: 155.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/9.384, allocations: 0.5442 MB / 4.628 GB, free: 154.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003157/9.387, allocations: 1.231 MB / 4.629 GB, free: 153.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008757/9.388, allocations: 256.5 kB / 4.629 GB, free: 153.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/9.388, allocations: 60 kB / 4.63 GB, free: 153.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001394/9.39, allocations: 0.7341 MB / 4.63 GB, free: 152.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/9.391, allocations: 1.076 MB / 4.631 GB, free: 151.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/9.391, allocations: 4 kB / 4.631 GB, free: 151.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.649e-05/9.391, allocations: 4 kB / 4.631 GB, free: 151.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.507e-05/9.391, allocations: 38 kB / 4.631 GB, free: 151.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007449/9.399, allocations: 6.614 MB / 4.638 GB, free: 144.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007053/9.399, allocations: 466.5 kB / 4.638 GB, free: 144 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/9.4, allocations: 189.3 kB / 4.638 GB, free: 143.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004238/9.4, allocations: 372.2 kB / 4.639 GB, free: 143.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/9.4, allocations: 30.84 kB / 4.639 GB, free: 143.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 3.777e-06/9.4, allocations: 0 / 4.639 GB, free: 143.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.0014/9.402, allocations: 0.5216 MB / 4.639 GB, free: 142.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/9.402, allocations: 55.41 kB / 4.639 GB, free: 142.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000986/9.403, allocations: 0.8336 MB / 4.64 GB, free: 141.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.516e-05/9.403, allocations: 29.7 kB / 4.64 GB, free: 141.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/9.403, allocations: 0.5173 MB / 4.641 GB, free: 141.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.694e-05/9.403, allocations: 114.3 kB / 4.641 GB, free: 141.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/9.403, allocations: 0 / 4.641 GB, free: 141.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.286e-05/9.403, allocations: 331 kB / 4.641 GB, free: 140.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/9.403, allocations: 199.8 kB / 4.641 GB, free: 140.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/9.404, allocations: 0.5446 MB / 4.642 GB, free: 140 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/9.404, allocations: 309.7 kB / 4.642 GB, free: 139.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/9.404, allocations: 0 / 4.642 GB, free: 139.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001151/9.406, allocations: 0.7587 MB / 4.643 GB, free: 139 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008257/9.406, allocations: 4.097 MB / 4.647 GB, free: 134.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/9.406, allocations: 15.98 kB / 4.647 GB, free: 134.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.13e-05/9.406, allocations: 16 kB / 4.647 GB, free: 134.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008695/9.407, allocations: 210.4 kB / 4.647 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/9.407, allocations: 27.86 kB / 4.647 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/9.409, allocations: 187.4 kB / 4.647 GB, free: 134.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.093e-05/9.409, allocations: 47.27 kB / 4.647 GB, free: 134.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/9.409, allocations: 4 kB / 4.647 GB, free: 134.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001016/9.41, allocations: 0.611 MB / 4.648 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/9.41, allocations: 12 kB / 4.648 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/9.41, allocations: 16 kB / 4.648 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/9.411, allocations: 229.6 kB / 4.648 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/9.411, allocations: 15.94 kB / 4.648 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/9.412, allocations: 153.1 kB / 4.648 GB, free: 133.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/9.412, allocations: 43.98 kB / 4.648 GB, free: 133.1 MB / 1.167 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.0002425/9.412, allocations: 140.2 kB / 4.649 GB, free: 133 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/9.413, allocations: 114.6 kB / 4.649 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/9.414, allocations: 0.4924 MB / 4.649 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/9.414, allocations: 0 / 4.649 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/9.414, allocations: 0 / 4.649 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/9.414, allocations: 7.984 kB / 4.649 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/9.417, allocations: 1.687 MB / 4.651 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/9.417, allocations: 0 / 4.651 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005596/9.417, allocations: 115.5 kB / 4.651 GB, free: 130.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/9.417, allocations: 4 kB / 4.651 GB, free: 130.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/9.417, allocations: 11.98 kB / 4.651 GB, free: 130.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/9.417, allocations: 4 kB / 4.651 GB, free: 130.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/9.417, allocations: 7.938 kB / 4.651 GB, free: 130.5 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008991/9.418, allocations: 0.836 MB / 4.652 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/9.419, allocations: 267.5 kB / 4.652 GB, free: 129.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/9.419, allocations: 4 kB / 4.652 GB, free: 129.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/9.42, allocations: 120.4 kB / 4.652 GB, free: 129.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/9.42, allocations: 26.69 kB / 4.652 GB, free: 129.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/9.42, allocations: 27.89 kB / 4.652 GB, free: 129.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0008321/9.421, allocations: 0.6202 MB / 4.653 GB, free: 128.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003328/9.424, allocations: 0.8186 MB / 4.654 GB, free: 127.6 MB / 1.167 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.005619/9.43, allocations: 3.518 MB / 4.657 GB, free: 124.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001616/9.432, allocations: 0.8205 MB / 4.658 GB, free: 123.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/9.432, allocations: 2.625 kB / 4.658 GB, free: 123.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002579/9.432, allocations: 183.7 kB / 4.658 GB, free: 123.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/9.434, allocations: 379.4 kB / 4.658 GB, free: 123.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004856/9.439, allocations: 1.684 MB / 4.66 GB, free: 121.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009796/9.44, allocations: 1.306 MB / 4.661 GB, free: 120 MB / 1.167 GB Notification: Performance of SimCode: time 1.944e-06/9.44, allocations: 0 / 4.661 GB, free: 120 MB / 1.167 GB Notification: Performance of Templates: time 0.05425/9.494, allocations: 36.49 MB / 4.697 GB, free: 84.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example4.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches