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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001108/0.001108, allocations: 185 kB / 498.1 MB, free: 5.734 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.523/1.523, allocations: 223.2 MB / 0.7948 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009393/0.0009393, allocations: 102.3 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.000375, allocations: 6.969 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3414, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.5265, allocations: 149.4 MB / 1.369 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.5268, allocations: 71.95 kB / 1.369 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004435/0.5313, allocations: 1.549 MB / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.056e-06/0.5313, allocations: 0 / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.5313, allocations: 0 / 1.37 GB, free: 11.12 MB / 0.8698 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.0004284/0.5318, allocations: 360.9 kB / 1.371 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.5318, allocations: 8.031 kB / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.5319, allocations: 0 / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.532, allocations: 179 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.532, allocations: 0 / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.532, allocations: 0 / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.5323, allocations: 49.69 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.5323, allocations: 3.984 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.5323, allocations: 0 / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.5323, allocations: 4 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.5325, allocations: 47.91 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.5329, allocations: 268.9 kB / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.5331, allocations: 42.55 kB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006195/0.5337, allocations: 445.5 kB / 1.372 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.5337, allocations: 30.56 kB / 1.372 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.5338, allocations: 3.938 kB / 1.372 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.000374/0.5341, allocations: 109.6 kB / 1.372 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.5342, allocations: 51.41 kB / 1.372 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.5343, allocations: 92.98 kB / 1.372 GB, free: 9.184 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.5343, allocations: 25.7 kB / 1.372 GB, free: 9.152 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.5343, allocations: 84.14 kB / 1.372 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.5344, allocations: 7.891 kB / 1.372 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.5344, allocations: 0 / 1.372 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.5345, allocations: 322.8 kB / 1.372 GB, free: 8.734 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.5346, allocations: 19.98 kB / 1.372 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.155e-05/0.5347, allocations: 27.91 kB / 1.372 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.781e-05/0.5348, allocations: 24.05 kB / 1.372 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5348, allocations: 0 / 1.372 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001824/0.5349, allocations: 77.59 kB / 1.373 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.535, allocations: 8 kB / 1.373 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.535, allocations: 4.031 kB / 1.373 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.535, allocations: 0 / 1.373 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.356e-05/0.5351, allocations: 8 kB / 1.373 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.5351, allocations: 3.984 kB / 1.373 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.772e-05/0.5352, allocations: 8 kB / 1.373 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.5352, allocations: 0 / 1.373 GB, free: 8.551 MB / 0.8698 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 () * Number of clocked 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 8.035e-05/0.5353, allocations: 113.8 kB / 1.373 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.5353, allocations: 8 kB / 1.373 GB, free: 8.422 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.5356, allocations: 84.7 kB / 1.373 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5356, allocations: 0 / 1.373 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5356, allocations: 0 / 1.373 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.5356, allocations: 0 / 1.373 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.5358, allocations: 161.7 kB / 1.373 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5358, allocations: 0 / 1.373 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.126e-05/0.5358, allocations: 11.98 kB / 1.373 GB, free: 8.113 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5358, allocations: 0 / 1.373 GB, free: 8.113 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.5359, allocations: 0 / 1.373 GB, free: 8.113 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.5359, allocations: 8 kB / 1.373 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5359, allocations: 0 / 1.373 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.5361, allocations: 179.4 kB / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.5362, allocations: 77.11 kB / 1.373 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.5362, allocations: 0 / 1.373 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.5363, allocations: 12.02 kB / 1.373 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.5363, allocations: 4 kB / 1.373 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.5363, allocations: 3.938 kB / 1.373 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.883e-05/0.5364, allocations: 87.27 kB / 1.373 GB, free: 7.715 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5364, allocations: 0 / 1.373 GB, free: 7.715 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002329/0.5366, allocations: 27.88 kB / 1.373 GB, free: 7.688 MB / 0.8698 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 () * Number of clocked 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.0002425/0.5369, allocations: 138.9 kB / 1.373 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.5371, allocations: 47.95 kB / 1.373 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5371, allocations: 0 / 1.373 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.624e-05/0.5372, allocations: 28.05 kB / 1.374 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.5374, allocations: 5.047 kB / 1.374 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.5377, allocations: 112.6 kB / 1.374 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.5379, allocations: 0.677 MB / 1.374 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.483e-05/0.538, allocations: 8.062 kB / 1.374 GB, free: 6.609 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.538, allocations: 7.438 kB / 1.374 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of SimCode: time 2.11e-07/0.538, allocations: 0 / 1.374 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of Templates: time 0.002624/0.5406, allocations: 0.5496 MB / 1.375 GB, free: 6.059 MB / 0.8698 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