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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.442/1.442, allocations: 249.3 MB / 261.9 MB, free: 5.863 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.001051/0.001051, allocations: 180.9 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.781/1.781, allocations: 205.2 MB / 0.572 GB, free: 10.72 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.001332/0.001331, allocations: 86.52 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.567e-05/3.57e-05, allocations: 4 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2323, allocations: 106.3 MB / 0.8918 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8028/1.035, allocations: 131.1 MB / 1.02 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/1.036, allocations: 78.31 kB / 1.02 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004057/1.04, allocations: 1.24 MB / 1.021 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/1.04, allocations: 0 / 1.021 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.04e-05/1.04, allocations: 0 / 1.021 GB, free: 2.566 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.0003662/1.04, allocations: 329.3 kB / 1.021 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/1.04, allocations: 15.97 kB / 1.021 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/1.04, allocations: 0 / 1.021 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/1.04, allocations: 167 kB / 1.022 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/1.04, allocations: 0 / 1.022 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/1.04, allocations: 0 / 1.022 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/1.04, allocations: 33.69 kB / 1.022 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/1.04, allocations: 0 / 1.022 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/1.04, allocations: 0 / 1.022 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/1.041, allocations: 4 kB / 1.022 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.641e-05/1.041, allocations: 0 / 1.022 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/1.041, allocations: 149.2 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.249e-05/1.041, allocations: 22.55 kB / 1.022 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.082e-05/1.041, allocations: 4.859 kB / 1.022 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007527/1.042, allocations: 449 kB / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/1.042, allocations: 34.56 kB / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.422e-06/1.042, allocations: 0 / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001726/1.042, allocations: 33.69 kB / 1.022 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/1.042, allocations: 54.47 kB / 1.022 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.887e-05/1.042, allocations: 85 kB / 1.022 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/1.042, allocations: 29.73 kB / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/1.042, allocations: 80.14 kB / 1.022 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.962e-05/1.042, allocations: 3.938 kB / 1.022 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/1.042, allocations: 0 / 1.022 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.042, allocations: 313.4 kB / 1.023 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/1.042, allocations: 4 kB / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/1.042, allocations: 0 / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.106e-05/1.042, allocations: 0 / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.042, allocations: 64 / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.955e-05/1.042, allocations: 48.7 kB / 1.023 GB, free: 472 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.042, allocations: 4 kB / 1.023 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.042, allocations: 0 / 1.023 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/1.042, allocations: 0 / 1.023 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.953e-05/1.043, allocations: 4 kB / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/1.043, allocations: 0 / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.367e-05/1.043, allocations: 0 / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/1.043, allocations: 0 / 1.023 GB, free: 464 kB / 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 9.601e-05/1.043, allocations: 108.9 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/1.043, allocations: 11.92 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/1.043, allocations: 45.33 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.043, allocations: 4 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.043, allocations: 0 / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.043, allocations: 0 / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/1.043, allocations: 141.7 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.043, allocations: 0 / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/1.043, allocations: 7.375 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.043, allocations: 7.938 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/1.043, allocations: 0 / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/1.043, allocations: 4.031 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.043, allocations: 0 / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.318e-05/1.043, allocations: 56.14 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.228e-05/1.043, allocations: 81.11 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/1.043, allocations: 3.953 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.354e-05/1.043, allocations: 3.984 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/1.043, allocations: 0 / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/1.043, allocations: 4.031 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.046e-05/1.043, allocations: 75.28 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.31e-07/1.043, allocations: 0 / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003276/1.044, allocations: 23.94 kB / 1.023 GB, free: 15.8 MB / 0.6511 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.0003521/1.044, allocations: 130.1 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.248e-05/1.044, allocations: 4 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.044, allocations: 0 / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.588e-06/1.044, allocations: 7.938 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/1.044, allocations: 0 / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002128/1.045, allocations: 53.42 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/1.045, allocations: 0.6692 MB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.886e-05/1.045, allocations: 4 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/1.045, allocations: 14.5 kB / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of SimCode: time 3.01e-07/1.045, allocations: 0 / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of Templates: time 0.003262/1.048, allocations: 383.1 kB / 1.025 GB, free: 14.5 MB / 0.6511 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