Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.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.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0") [: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.195/1.195, allocations: 249.4 MB / 256.7 MB, free: 7.012 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.0009799/0.0009799, allocations: 185.2 kB / 316 MB, free: 3.582 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.094/1.094, allocations: 205.2 MB / 0.5667 GB, free: 15.65 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.000817/0.0008171, allocations: 90.12 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.264e-06/7.284e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.153, allocations: 106.3 MB / 0.8846 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4172/0.5702, allocations: 132.1 MB / 1.014 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001763/0.5704, allocations: 74 kB / 1.014 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003879/0.5743, allocations: 1.204 MB / 1.015 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5743, allocations: 4 kB / 1.015 GB, free: 5.617 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003157/0.5746, allocations: 357.2 kB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.5747, allocations: 8.031 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.5747, allocations: 7.938 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.5748, allocations: 170.5 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.5748, allocations: 4 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.455e-06/0.5748, allocations: 4 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.429e-05/0.5749, allocations: 4 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.071e-05/0.575, allocations: 37.31 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.575, allocations: 0 / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.575, allocations: 0 / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.575, allocations: 0 / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.5753, allocations: 248.6 kB / 1.016 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.932e-05/0.5754, allocations: 25.7 kB / 1.016 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.5754, allocations: 12.03 kB / 1.016 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004971/0.5759, allocations: 441.5 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.5759, allocations: 34 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.5759, allocations: 0 / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000148/0.5761, allocations: 41.12 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.5761, allocations: 55.31 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.476e-05/0.5762, allocations: 93.03 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.5762, allocations: 25.7 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.5762, allocations: 87.08 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.5763, allocations: 7.906 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.5763, allocations: 0 / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.5764, allocations: 318.8 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.5764, allocations: 6.875 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.016e-05/0.5764, allocations: 3.875 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.589e-05/0.5764, allocations: 8.062 kB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5764, allocations: 0 / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.115e-05/0.5765, allocations: 40.95 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.5765, allocations: 4 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.5766, allocations: 0 / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.5766, allocations: 0 / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/0.5767, allocations: 11.98 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5767, allocations: 8.594 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.292e-05/0.5767, allocations: 11.98 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-06/0.5767, allocations: 0 / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.332e-05/0.5768, allocations: 105 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.5768, allocations: 3.938 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.5769, allocations: 59.61 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.5769, allocations: 4.031 kB / 1.017 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.577, allocations: 3.938 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.577, allocations: 0 / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.5771, allocations: 133.8 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5771, allocations: 3.984 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.516e-05/0.5772, allocations: 12.19 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5772, allocations: 0 / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.5772, allocations: 0 / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5772, allocations: 7.906 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5772, allocations: 3.984 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000113/0.5773, allocations: 144.4 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.741e-05/0.5773, allocations: 81.02 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.5774, allocations: 0 / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.627e-05/0.5774, allocations: 16.02 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.5775, allocations: 0 / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.5775, allocations: 0 / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.539e-05/0.5775, allocations: 86.64 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002147/0.5778, allocations: 23.94 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002285/0.578, allocations: 127.2 kB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.214e-05/0.5781, allocations: 15 kB / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.5781, allocations: 0 / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.8e-05/0.5781, allocations: 12 kB / 1.018 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.5782, allocations: 2.5 kB / 1.018 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001731/0.5784, allocations: 67.12 kB / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.5786, allocations: 0.688 MB / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.5786, allocations: 0 / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of Templates: time 0.002123/0.5807, allocations: 0.608 MB / 1.019 GB, free: 1.039 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_BesselJ0.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches