Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.196/1.196, 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.0009542/0.0009542, allocations: 180.2 kB / 316 MB, free: 3.547 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.05/1.05, allocations: 205.1 MB / 0.5667 GB, free: 15.61 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.0008573/0.0008575, allocations: 89.52 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.566e-06/8.586e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1502, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4455/0.5958, allocations: 131.3 MB / 1.013 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.596, allocations: 79.44 kB / 1.013 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003041/0.5991, allocations: 0.9161 MB / 1.014 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.5991, allocations: 7.875 kB / 1.014 GB, free: 6.789 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002066/0.5993, allocations: 318.5 kB / 1.014 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.5994, allocations: 8.031 kB / 1.014 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.5994, allocations: 7.906 kB / 1.014 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.585e-05/0.5995, allocations: 167 kB / 1.014 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.5995, allocations: 0 / 1.014 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.5995, allocations: 2.25 kB / 1.014 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.277e-05/0.5996, allocations: 7.938 kB / 1.014 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.281e-05/0.5996, allocations: 25.7 kB / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.5996, allocations: 0 / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.5997, allocations: 0 / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5997, allocations: 0 / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.5998, allocations: 137.6 kB / 1.014 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.069e-05/0.5998, allocations: 18.56 kB / 1.014 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.414e-05/0.5998, allocations: 4.859 kB / 1.014 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005117/0.6003, allocations: 437.6 kB / 1.015 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.6004, allocations: 37.19 kB / 1.015 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.395e-06/0.6004, allocations: 0 / 1.015 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000145/0.6005, allocations: 37.62 kB / 1.015 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.6006, allocations: 51.41 kB / 1.015 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.944e-05/0.6006, allocations: 85 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.6006, allocations: 25.7 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.216e-05/0.6007, allocations: 80.14 kB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.6007, allocations: 11.94 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.6007, allocations: 0 / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.911e-05/0.6008, allocations: 314.3 kB / 1.016 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.633e-06/0.6008, allocations: 0 / 1.016 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-06/0.6008, allocations: 0 / 1.016 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/0.6009, allocations: 4 kB / 1.016 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6009, allocations: 0 / 1.016 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.951e-05/0.6009, allocations: 37.62 kB / 1.016 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.601, allocations: 4 kB / 1.016 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.601, allocations: 4.094 kB / 1.016 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.601, allocations: 0 / 1.016 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.01e-05/0.601, allocations: 7.938 kB / 1.016 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.601, allocations: 0 / 1.016 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.21e-05/0.6011, allocations: 3.906 kB / 1.016 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.6011, allocations: 0 / 1.016 GB, free: 4.711 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 (1): * Single equations (assignments): 1 * 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.965e-05/0.6011, allocations: 101 kB / 1.016 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-06/0.6012, allocations: 4 kB / 1.016 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.085e-05/0.6013, allocations: 48.39 kB / 1.016 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.6013, allocations: 0 / 1.016 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6013, allocations: 3.938 kB / 1.016 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6013, allocations: 3.906 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.349e-05/0.6014, allocations: 126.2 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.6014, allocations: 0 / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.389e-05/0.6014, allocations: 4 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.6014, allocations: 0 / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.6014, allocations: 3.984 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.6014, allocations: 3.938 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6014, allocations: 0 / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.063e-05/0.6015, allocations: 62.7 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.759e-05/0.6015, allocations: 81.11 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.6015, allocations: 0 / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-06/0.6016, allocations: 0 / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.091e-05/0.6016, allocations: 3.984 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.6016, allocations: 0 / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.665e-05/0.6016, allocations: 75.28 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002223/0.6018, allocations: 23.97 kB / 1.016 GB, free: 4.102 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 (1): * Single equations (assignments): 1 * 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.0002717/0.6021, allocations: 139.2 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 4.965e-05/0.6022, allocations: 3.938 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6022, allocations: 0 / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.252e-06/0.6022, allocations: 4 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.33e-05/0.6023, allocations: 7 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001334/0.6024, allocations: 51.48 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.6027, allocations: 0.6802 MB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of SimCode: time 1.583e-06/0.6027, allocations: 4.125 kB / 1.017 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of Templates: time 0.002122/0.6048, allocations: 405.5 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches