Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.028/2.028, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.001425/0.001425, allocations: 180 kB / 487 MB, free: 5.41 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.216/1.216, allocations: 221.3 MB / 0.7819 GB, free: 1.48 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.0009427/0.0009427, allocations: 97.72 kB / 0.9213 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.434e-06/7.464e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2087, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5849/0.7936, allocations: 148.6 MB / 1.35 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.7939, allocations: 72.98 kB / 1.35 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.00409/0.798, allocations: 1.22 MB / 1.352 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.798, allocations: 0 / 1.352 GB, free: 15.91 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.0002678/0.7983, allocations: 353.2 kB / 1.352 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.7983, allocations: 14.69 kB / 1.352 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.7983, allocations: 5.031 kB / 1.352 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.213e-05/0.7984, allocations: 162 kB / 1.352 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.7984, allocations: 1.062 kB / 1.352 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.7984, allocations: 0.9688 kB / 1.352 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.093e-05/0.7985, allocations: 12.66 kB / 1.352 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.609e-05/0.7986, allocations: 37.11 kB / 1.352 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.7986, allocations: 4 kB / 1.352 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.7986, allocations: 5.594 kB / 1.352 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.7986, allocations: 0.875 kB / 1.352 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000311/0.7989, allocations: 241.3 kB / 1.352 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.612e-05/0.799, allocations: 29.67 kB / 1.352 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.31e-05/0.799, allocations: 16.14 kB / 1.352 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004478/0.7995, allocations: 434.5 kB / 1.353 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.7995, allocations: 39.56 kB / 1.353 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.7995, allocations: 0 / 1.353 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001549/0.7997, allocations: 39.34 kB / 1.353 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.552e-05/0.7997, allocations: 52.47 kB / 1.353 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.967e-05/0.7997, allocations: 94.25 kB / 1.353 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.193e-06/0.7997, allocations: 25.7 kB / 1.353 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.8e-05/0.7998, allocations: 89.45 kB / 1.353 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.7998, allocations: 9.344 kB / 1.353 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.7998, allocations: 0 / 1.353 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.568e-05/0.7998, allocations: 316 kB / 1.353 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.7999, allocations: 3.938 kB / 1.353 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/0.7999, allocations: 6.094 kB / 1.353 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/0.7999, allocations: 4.344 kB / 1.353 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.7999, allocations: 0 / 1.353 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.26e-05/0.8, allocations: 42.67 kB / 1.354 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.8, allocations: 11.53 kB / 1.354 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.8, allocations: 0 / 1.354 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.8, allocations: 0.7812 kB / 1.354 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.478e-05/0.8001, allocations: 12.5 kB / 1.354 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.8001, allocations: 3.984 kB / 1.354 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/0.8002, allocations: 12.22 kB / 1.354 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.8002, allocations: 0.75 kB / 1.354 GB, free: 13.85 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 3.79e-05/0.8003, allocations: 112.2 kB / 1.354 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.8003, allocations: 1.5 kB / 1.354 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.8004, allocations: 53.62 kB / 1.354 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.8004, allocations: 0.9375 kB / 1.354 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.8004, allocations: 0 / 1.354 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.8004, allocations: 1 kB / 1.354 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.115e-05/0.8005, allocations: 142 kB / 1.354 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8005, allocations: 4.031 kB / 1.354 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.135e-05/0.8006, allocations: 12.98 kB / 1.354 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.8006, allocations: 0 / 1.354 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.8006, allocations: 1.469 kB / 1.354 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.8006, allocations: 4.562 kB / 1.354 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8006, allocations: 3.938 kB / 1.354 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.527e-05/0.8007, allocations: 145.2 kB / 1.354 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.8007, allocations: 79.08 kB / 1.354 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.8008, allocations: 1.828 kB / 1.354 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.8009, allocations: 13.12 kB / 1.354 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.8009, allocations: 5.672 kB / 1.354 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.8009, allocations: 1.812 kB / 1.354 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.748e-05/0.8009, allocations: 88.91 kB / 1.354 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002347/0.8012, allocations: 25.44 kB / 1.354 GB, free: 13.2 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.0002295/0.8014, allocations: 129.6 kB / 1.354 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.853e-05/0.8015, allocations: 10.75 kB / 1.354 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.8015, allocations: 1.312 kB / 1.354 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.962e-05/0.8015, allocations: 13.62 kB / 1.354 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.8017, allocations: 1.188 kB / 1.354 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001551/0.8018, allocations: 60.23 kB / 1.354 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.8019, allocations: 0.6871 MB / 1.355 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of SimCode: time 2.3e-07/0.8019, allocations: 1.031 kB / 1.355 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of Templates: time 0.002294/0.8042, allocations: 0.5901 MB / 1.356 GB, free: 12.28 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches