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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007184/0.007184, allocations: 97.59 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 192 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.89 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.035, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002398/1.037, allocations: 1.425 MB / 1.089 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005206/1.038, allocations: 250 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.958e-05/1.038, allocations: 1.031 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/1.038, allocations: 8.625 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.409e-05/1.038, allocations: 3.984 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/1.038, allocations: 57.95 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.72e-05/1.039, allocations: 20.33 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/1.039, allocations: 12.66 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.371e-05/1.039, allocations: 5.406 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.156e-05/1.039, allocations: 17.16 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/1.039, allocations: 1.344 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/1.039, allocations: 61.67 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/1.039, allocations: 2.359 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/1.039, allocations: 11.67 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/1.039, allocations: 56.12 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.039, allocations: 0 / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.383e-06/1.039, allocations: 1.156 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.09e-06/1.039, allocations: 4 kB / 1.09 GB, free: 4.238 MB / 0.8575 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.0003978/1.04, allocations: 340.4 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/1.04, allocations: 9.281 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/1.04, allocations: 10 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.029e-05/1.04, allocations: 164.5 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/1.04, allocations: 384 / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/1.04, allocations: 5.438 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/1.04, allocations: 53.7 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.04, allocations: 192 / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/1.04, allocations: 5 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/1.04, allocations: 0 / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/1.04, allocations: 32.64 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/1.04, allocations: 242.8 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/1.041, allocations: 49.62 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.561e-05/1.041, allocations: 22.3 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005529/1.041, allocations: 450.4 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/1.041, allocations: 36.2 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.864e-06/1.041, allocations: 0 / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003522/1.042, allocations: 83.5 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/1.042, allocations: 53.03 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.689e-05/1.042, allocations: 104.7 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.273e-06/1.042, allocations: 27.02 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.733e-05/1.042, allocations: 89.66 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/1.042, allocations: 1.875 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/1.042, allocations: 16.61 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.521e-05/1.042, allocations: 312.3 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.744e-05/1.042, allocations: 18.19 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.607e-05/1.042, allocations: 13.59 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/1.042, allocations: 46.12 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.042, allocations: 0 / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001846/1.042, allocations: 71.12 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.042, allocations: 4.906 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.042, allocations: 5.547 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/1.042, allocations: 0 / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.218e-05/1.043, allocations: 12.88 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/1.043, allocations: 1.859 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/1.043, allocations: 9.75 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/1.043, allocations: 192 / 1.092 GB, free: 2.055 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/1.043, allocations: 112.7 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/1.043, allocations: 1.844 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/1.043, allocations: 83.64 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.043, allocations: 0 / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.043, allocations: 0 / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/1.043, allocations: 1.641 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/1.043, allocations: 159.2 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/1.043, allocations: 0 / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.615e-05/1.043, allocations: 13.17 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.043, allocations: 0.9375 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/1.043, allocations: 0.7969 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/1.043, allocations: 1.188 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/1.043, allocations: 4.031 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/1.043, allocations: 159.2 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/1.043, allocations: 88.2 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/1.043, allocations: 1.484 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/1.043, allocations: 9.531 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/1.044, allocations: 6.594 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/1.044, allocations: 0.7188 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.155e-05/1.044, allocations: 79.55 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.044, allocations: 0.75 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002383/1.044, allocations: 14.42 kB / 1.093 GB, free: 1.359 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002004/1.044, allocations: 126 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002464/1.044, allocations: 39.73 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.044, allocations: 0.7812 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.789e-05/1.044, allocations: 15.52 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/1.045, allocations: 11.14 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/1.045, allocations: 111.1 kB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/1.045, allocations: 0.6765 MB / 1.094 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.25e-05/1.045, allocations: 1.719 kB / 1.094 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/1.045, allocations: 12.12 kB / 1.094 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.045, allocations: 0 / 1.094 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of Templates: time 0.003376/1.049, allocations: 0.6528 MB / 1.094 GB, free: 16.34 MB / 0.8731 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches