Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.362/2.362, 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.001085/0.001085, allocations: 181 kB / 498.1 MB, free: 5.758 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.558/1.558, 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.0009742/0.0009742, allocations: 100.9 kB / 0.9346 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003736, allocations: 10.75 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.307, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/0.5012, allocations: 149.4 MB / 1.369 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.5015, allocations: 79.94 kB / 1.369 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004798/0.5063, allocations: 1.58 MB / 1.37 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5063, allocations: 0 / 1.37 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.5063, allocations: 0 / 1.37 GB, free: 11.05 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.0004398/0.5068, allocations: 359.3 kB / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.5068, allocations: 12.03 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.5069, allocations: 3.906 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.507, allocations: 163 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.507, allocations: 4 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.507, allocations: 4 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.5072, allocations: 53.67 kB / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.5072, allocations: 0 / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.5073, allocations: 4 kB / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5073, allocations: 0 / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.5075, allocations: 47.89 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.5079, allocations: 268.9 kB / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.508, allocations: 46.53 kB / 1.371 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006446/0.5087, allocations: 449.5 kB / 1.372 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.5087, allocations: 38.5 kB / 1.372 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.5088, allocations: 0 / 1.372 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003527/0.5091, allocations: 97.58 kB / 1.372 GB, free: 9.273 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.5092, allocations: 51.41 kB / 1.372 GB, free: 9.211 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.288e-05/0.5092, allocations: 93 kB / 1.372 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.5093, allocations: 25.7 kB / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.5093, allocations: 92.03 kB / 1.372 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.5093, allocations: 8.125 kB / 1.372 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.5094, allocations: 0 / 1.372 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.5095, allocations: 314.8 kB / 1.372 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.5096, allocations: 23.98 kB / 1.372 GB, free: 8.641 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/0.5097, allocations: 23.92 kB / 1.373 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.388e-05/0.5098, allocations: 27.97 kB / 1.373 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.5098, allocations: 0 / 1.373 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001926/0.51, allocations: 81.58 kB / 1.373 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.51, allocations: 4 kB / 1.373 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.51, allocations: 0 / 1.373 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.51, allocations: 3.984 kB / 1.373 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.729e-05/0.5101, allocations: 8 kB / 1.373 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.5102, allocations: 4 kB / 1.373 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.981e-05/0.5102, allocations: 7.984 kB / 1.373 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.5102, allocations: 4.031 kB / 1.373 GB, free: 8.473 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.857e-05/0.5103, allocations: 114.3 kB / 1.373 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.5103, allocations: 0 / 1.373 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.5106, allocations: 88.66 kB / 1.373 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5106, allocations: 4.031 kB / 1.373 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.5106, allocations: 7.984 kB / 1.373 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5106, allocations: 0 / 1.373 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.5108, allocations: 157.6 kB / 1.373 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5108, allocations: 0 / 1.373 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.473e-05/0.5109, allocations: 15.98 kB / 1.373 GB, free: 8.027 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.5109, allocations: 0 / 1.373 GB, free: 8.027 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.5109, allocations: 0 / 1.373 GB, free: 8.027 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.5109, allocations: 0 / 1.373 GB, free: 8.027 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5109, allocations: 0 / 1.373 GB, free: 8.027 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.5112, allocations: 175.5 kB / 1.373 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/0.5113, allocations: 88.95 kB / 1.373 GB, free: 7.734 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.5113, allocations: 4.031 kB / 1.373 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.5114, allocations: 7.984 kB / 1.373 GB, free: 7.723 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.5114, allocations: 4 kB / 1.373 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.5114, allocations: 3.938 kB / 1.373 GB, free: 7.715 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.72e-05/0.5115, allocations: 87.27 kB / 1.373 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5115, allocations: 0 / 1.373 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000258/0.5117, allocations: 24 kB / 1.373 GB, free: 7.605 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.0002776/0.512, allocations: 131 kB / 1.374 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.5122, allocations: 47.97 kB / 1.374 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5123, allocations: 0 / 1.374 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.292e-05/0.5124, allocations: 27.97 kB / 1.374 GB, free: 7.395 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.5126, allocations: 3.953 kB / 1.374 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.5129, allocations: 116.8 kB / 1.374 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.5133, allocations: 0.677 MB / 1.374 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.513e-05/0.5134, allocations: 3.938 kB / 1.374 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.5134, allocations: 11.44 kB / 1.374 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.5134, allocations: 0 / 1.374 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of Templates: time 0.002906/0.5163, allocations: 0.5484 MB / 1.375 GB, free: 5.977 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches