Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.226/1.226, allocations: 249.4 MB / 256.7 MB, free: 6.914 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.0009697/0.0009696, allocations: 184.9 kB / 316 MB, free: 3.516 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.074/1.074, allocations: 205.2 MB / 0.5667 GB, free: 15.7 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.0007682/0.0007683, allocations: 87.28 kB / 0.671 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.043e-06/7.053e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1675, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4509/0.6185, allocations: 132.1 MB / 1.014 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001786/0.6187, allocations: 72.89 kB / 1.014 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004304/0.623, allocations: 1.247 MB / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.623, allocations: 3.938 kB / 1.015 GB, free: 5.434 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.0003257/0.6234, allocations: 357.6 kB / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.6234, allocations: 12.03 kB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.303e-05/0.6234, allocations: 0 / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.6235, allocations: 166.9 kB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.6236, allocations: 4.75 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.6236, allocations: 4 kB / 1.015 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.675e-05/0.6236, allocations: 11.73 kB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.718e-05/0.6237, allocations: 33.14 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.6237, allocations: 0 / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.6237, allocations: 4 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.6237, allocations: 3.938 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.6241, allocations: 248 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.295e-05/0.6242, allocations: 25.77 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.404e-05/0.6242, allocations: 12.36 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005532/0.6247, allocations: 445.5 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.6248, allocations: 30.56 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.6248, allocations: 0 / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001571/0.6249, allocations: 41.58 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.625, allocations: 55.31 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.527e-05/0.625, allocations: 100.6 kB / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.6251, allocations: 25.7 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.799e-05/0.6251, allocations: 80.14 kB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.6251, allocations: 7.906 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-06/0.6251, allocations: 0 / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.6252, allocations: 313.9 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.6252, allocations: 4 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.016e-05/0.6253, allocations: 3.438 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.807e-05/0.6253, allocations: 12.05 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.6253, allocations: 0 / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.322e-05/0.6254, allocations: 40.83 kB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.6254, allocations: 6.656 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.6254, allocations: 0 / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.6254, allocations: 0 / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.376e-05/0.6255, allocations: 19.86 kB / 1.017 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.6255, allocations: 7.938 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.289e-05/0.6256, allocations: 12.67 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.6256, allocations: 0 / 1.017 GB, free: 3.141 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 6.307e-05/0.6257, allocations: 111.2 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.6257, allocations: 0 / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.6258, allocations: 52.61 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.6258, allocations: 4.031 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.6258, allocations: 4 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.6258, allocations: 0 / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.626, allocations: 133.5 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.626, allocations: 0 / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.348e-05/0.626, allocations: 15.98 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.626, allocations: 0 / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.626, allocations: 0 / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.6261, allocations: 7.906 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.6261, allocations: 0 / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001029/0.6262, allocations: 143.1 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.6262, allocations: 81.2 kB / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.6262, allocations: 0 / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-05/0.6263, allocations: 19.02 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.6264, allocations: 7.922 kB / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.6264, allocations: 0 / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.35e-05/0.6264, allocations: 79.28 kB / 1.017 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002271/0.6266, allocations: 34.92 kB / 1.018 GB, free: 2.402 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.0002345/0.6269, allocations: 135.2 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.625e-05/0.627, allocations: 15.88 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.627, allocations: 0 / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.781e-05/0.627, allocations: 8.062 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.6271, allocations: 7.625 kB / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001751/0.6273, allocations: 59.69 kB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.6276, allocations: 0.6918 MB / 1.018 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of SimCode: time 2.1e-07/0.6276, allocations: 4 kB / 1.018 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of Templates: time 0.002205/0.6298, allocations: 0.6001 MB / 1.019 GB, free: 0.8398 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_BesselJ1.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches