Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.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.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1") [: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.036/2.036, allocations: 387.2 MB / 394.5 MB, free: 13.72 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.001233/0.001233, allocations: 181.3 kB / 487 MB, free: 5.375 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.283/1.283, allocations: 221.3 MB / 0.7819 GB, free: 1.469 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.001004/0.001004, allocations: 101.8 kB / 0.9213 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.705e-06/7.735e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2045, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5712/0.7757, allocations: 148.6 MB / 1.35 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.7759, allocations: 73.92 kB / 1.35 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.004187/0.7801, allocations: 1.261 MB / 1.352 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.7801, allocations: 1.203 kB / 1.352 GB, free: 15.79 MB / 0.8073 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.0002759/0.7804, allocations: 350.2 kB / 1.352 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.7804, allocations: 13.16 kB / 1.352 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.7805, allocations: 4.625 kB / 1.352 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.613e-05/0.7806, allocations: 166.2 kB / 1.352 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.7806, allocations: 4.766 kB / 1.352 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.7806, allocations: 1.062 kB / 1.352 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.042e-05/0.7807, allocations: 10.78 kB / 1.352 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.738e-05/0.7807, allocations: 37.44 kB / 1.352 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.7807, allocations: 0 / 1.352 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.7808, allocations: 3.906 kB / 1.352 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.7808, allocations: 0 / 1.352 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.7811, allocations: 247.7 kB / 1.352 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.488e-05/0.7811, allocations: 28.89 kB / 1.352 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.177e-05/0.7812, allocations: 12.58 kB / 1.353 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004906/0.7817, allocations: 438.3 kB / 1.353 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.7817, allocations: 41.39 kB / 1.353 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.7817, allocations: 4 kB / 1.353 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001534/0.7819, allocations: 39.59 kB / 1.353 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.404e-05/0.7819, allocations: 51.41 kB / 1.353 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.356e-05/0.7819, allocations: 94.77 kB / 1.353 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.7819, allocations: 29.64 kB / 1.353 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.687e-05/0.782, allocations: 81.3 kB / 1.353 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.782, allocations: 4.844 kB / 1.353 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.782, allocations: 0 / 1.353 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.025e-05/0.782, allocations: 321 kB / 1.354 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.7821, allocations: 2.75 kB / 1.354 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.298e-05/0.7821, allocations: 8.141 kB / 1.354 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.75e-05/0.7821, allocations: 2.562 kB / 1.354 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7821, allocations: 0 / 1.354 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.269e-05/0.7822, allocations: 44.53 kB / 1.354 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.7822, allocations: 6.969 kB / 1.354 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.7822, allocations: 0 / 1.354 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.7822, allocations: 96 / 1.354 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.279e-05/0.7823, allocations: 16.83 kB / 1.354 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.7823, allocations: 2.75 kB / 1.354 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.416e-05/0.7824, allocations: 8.297 kB / 1.354 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.7824, allocations: 0.9688 kB / 1.354 GB, free: 13.73 MB / 0.8073 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 4.133e-05/0.7825, allocations: 114.3 kB / 1.354 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.7825, allocations: 5.031 kB / 1.354 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.7826, allocations: 48.02 kB / 1.354 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.7826, allocations: 0 / 1.354 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.7826, allocations: 1.312 kB / 1.354 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.7826, allocations: 1.172 kB / 1.354 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.204e-05/0.7827, allocations: 145.5 kB / 1.354 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.7827, allocations: 0 / 1.354 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.83e-05/0.7828, allocations: 15.66 kB / 1.354 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.7828, allocations: 1.25 kB / 1.354 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.7828, allocations: 0 / 1.354 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.7828, allocations: 1.281 kB / 1.354 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7828, allocations: 0 / 1.354 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.788e-05/0.7829, allocations: 140.2 kB / 1.354 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.673e-05/0.7829, allocations: 82.55 kB / 1.354 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.783, allocations: 1.875 kB / 1.354 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.7831, allocations: 9.328 kB / 1.354 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.7831, allocations: 2.672 kB / 1.354 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.7831, allocations: 0 / 1.354 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.119e-05/0.7832, allocations: 92.48 kB / 1.354 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002526/0.7834, allocations: 32.55 kB / 1.354 GB, free: 13.08 MB / 0.8073 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.000228/0.7837, allocations: 136.1 kB / 1.354 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.152e-05/0.7837, allocations: 11.28 kB / 1.354 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7837, allocations: 1.375 kB / 1.354 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-05/0.7838, allocations: 11.12 kB / 1.354 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.7839, allocations: 2.5 kB / 1.354 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001622/0.7841, allocations: 56.55 kB / 1.355 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.7843, allocations: 0.6875 MB / 1.355 GB, free: 28.21 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.7843, allocations: 5.281 kB / 1.355 GB, free: 28.21 MB / 0.823 GB Notification: Performance of Templates: time 0.002423/0.7867, allocations: 0.5982 MB / 1.356 GB, free: 28.16 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches