Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.281/2.281, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001185/0.001185, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0008644/0.0008645, allocations: 91.95 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.254e-05/3.257e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3216, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.084/1.406, allocations: 150.2 MB / 1.365 GB, free: 3.922 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/1.406, allocations: 69.84 kB / 1.365 GB, free: 3.887 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004449/1.411, allocations: 1.541 MB / 1.367 GB, free: 2.543 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.913e-06/1.411, allocations: 0 / 1.367 GB, free: 2.543 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.154e-06/1.411, allocations: 0 / 1.367 GB, free: 2.543 MB / 0.823 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.0003928/1.411, allocations: 350.3 kB / 1.367 GB, free: 2.16 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.411, allocations: 8.031 kB / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/1.411, allocations: 7.938 kB / 1.367 GB, free: 2.145 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/1.412, allocations: 167.6 kB / 1.367 GB, free: 1.941 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/1.412, allocations: 0 / 1.367 GB, free: 1.941 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/1.412, allocations: 4 kB / 1.367 GB, free: 1.938 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.977e-05/1.412, allocations: 33.33 kB / 1.367 GB, free: 1.902 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.412, allocations: 0 / 1.367 GB, free: 1.902 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/1.412, allocations: 0 / 1.367 GB, free: 1.902 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/1.412, allocations: 4 kB / 1.368 GB, free: 1.898 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.696e-05/1.412, allocations: 15.23 kB / 1.368 GB, free: 1.887 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/1.412, allocations: 271 kB / 1.368 GB, free: 1.582 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.549e-05/1.412, allocations: 22.45 kB / 1.368 GB, free: 1.555 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.241e-05/1.412, allocations: 12.92 kB / 1.368 GB, free: 1.539 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005752/1.413, allocations: 441.1 kB / 1.368 GB, free: 1.02 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/1.413, allocations: 38.55 kB / 1.368 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.413, allocations: 0 / 1.368 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001486/1.413, allocations: 47.89 kB / 1.368 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/1.413, allocations: 51.41 kB / 1.368 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.557e-05/1.413, allocations: 92.95 kB / 1.368 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/1.413, allocations: 28.95 kB / 1.368 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/1.413, allocations: 88.08 kB / 1.369 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/1.413, allocations: 7.891 kB / 1.369 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/1.413, allocations: 0 / 1.369 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.414, allocations: 313.8 kB / 1.369 GB, free: 332 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/1.414, allocations: 8.031 kB / 1.369 GB, free: 324 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.33e-05/1.414, allocations: 7 kB / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.008e-05/1.414, allocations: 4 kB / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/1.414, allocations: 0 / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.238e-05/1.414, allocations: 50.44 kB / 1.369 GB, free: 268 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/1.414, allocations: 8 kB / 1.369 GB, free: 260 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.414, allocations: 3.938 kB / 1.369 GB, free: 256 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/1.414, allocations: 0 / 1.369 GB, free: 256 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.923e-05/1.414, allocations: 12.09 kB / 1.369 GB, free: 244 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/1.414, allocations: 3.984 kB / 1.369 GB, free: 240 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/1.414, allocations: 8 kB / 1.369 GB, free: 232 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/1.414, allocations: 3.953 kB / 1.369 GB, free: 228 kB / 0.823 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 7.635e-05/1.414, allocations: 101 kB / 1.369 GB, free: 120 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/1.414, allocations: 7.844 kB / 1.369 GB, free: 112 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/1.414, allocations: 51.06 kB / 1.369 GB, free: 64 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/1.414, allocations: 4.219 kB / 1.369 GB, free: 60 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.414, allocations: 0 / 1.369 GB, free: 60 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/1.414, allocations: 7.922 kB / 1.369 GB, free: 52 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/1.414, allocations: 160.9 kB / 1.369 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.414, allocations: 0 / 1.369 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.199e-05/1.414, allocations: 11.98 kB / 1.369 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/1.414, allocations: 0 / 1.369 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/1.414, allocations: 4 kB / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/1.414, allocations: 3.984 kB / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/1.415, allocations: 4 kB / 1.369 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/1.415, allocations: 141 kB / 1.369 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.828e-05/1.415, allocations: 81.09 kB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/1.415, allocations: 0 / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/1.415, allocations: 8 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/1.415, allocations: 3.984 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/1.415, allocations: 4.031 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.776e-05/1.415, allocations: 82.09 kB / 1.37 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.415, allocations: 0 / 1.37 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002221/1.415, allocations: 27.94 kB / 1.37 GB, free: 15.46 MB / 0.8386 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.0002535/1.415, allocations: 131.2 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.792e-05/1.415, allocations: 13.75 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.415, allocations: 0 / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.188e-05/1.415, allocations: 4 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/1.416, allocations: 16.34 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/1.416, allocations: 59.81 kB / 1.37 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/1.416, allocations: 0.677 MB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.695e-05/1.416, allocations: 20.05 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/1.416, allocations: 7.438 kB / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of SimCode: time 2.1e-07/1.416, allocations: 0 / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of Templates: time 0.002626/1.419, allocations: 0.5418 MB / 1.371 GB, free: 13.95 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches