Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.697/2.697, allocations: 462.6 MB / 0.737 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003854, allocations: 15.59 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3122, allocations: 159.6 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0006884/0.3129, allocations: 318.9 kB / 1.06 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004623/0.3134, allocations: 203.4 kB / 1.06 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.062e-05/0.3134, allocations: 3.938 kB / 1.06 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.3134, allocations: 0 / 1.06 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.02e-06/0.3135, allocations: 0 / 1.06 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.3138, allocations: 35.95 kB / 1.06 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 2.843e-05/0.3138, allocations: 0 / 1.06 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.3139, allocations: 7.984 kB / 1.06 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.31e-05/0.3139, allocations: 3.938 kB / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.922e-05/0.3139, allocations: 0 / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.282e-06/0.3139, allocations: 4 kB / 1.06 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.3141, allocations: 67.88 kB / 1.06 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.3141, allocations: 7.922 kB / 1.06 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.3141, allocations: 29.7 kB / 1.06 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.604e-05/0.3142, allocations: 15.97 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3142, allocations: 0 / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3142, allocations: 0 / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.3143, allocations: 0 / 1.06 GB, free: 4.238 MB / 0.8106 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.0002649/0.3145, allocations: 323.5 kB / 1.06 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3146, allocations: 15.97 kB / 1.06 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.3146, allocations: 0.9375 kB / 1.06 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.97e-05/0.3147, allocations: 164.4 kB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3147, allocations: 4.375 kB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.3147, allocations: 384 / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.124e-05/0.3148, allocations: 26.27 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.3148, allocations: 192 / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.3148, allocations: 3.938 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3148, allocations: 4 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.07e-05/0.3149, allocations: 7.938 kB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.315, allocations: 149.7 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.505e-05/0.315, allocations: 18.61 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.3151, allocations: 4.859 kB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006746/0.3157, allocations: 461.5 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.3158, allocations: 30.56 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.3158, allocations: 0 / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001217/0.3159, allocations: 37.58 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.3159, allocations: 51.41 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.573e-05/0.316, allocations: 89.86 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.316, allocations: 29.7 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.276e-05/0.316, allocations: 84.27 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.3161, allocations: 0 / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.3161, allocations: 9.719 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.3162, allocations: 318.8 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-06/0.3162, allocations: 3.984 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.033e-06/0.3162, allocations: 7.938 kB / 1.062 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/0.3162, allocations: 4.859 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3163, allocations: 0 / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.803e-05/0.3163, allocations: 41.7 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3163, allocations: 4 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3163, allocations: 0 / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3164, allocations: 3.938 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.636e-05/0.3164, allocations: 4 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.3164, allocations: 3.984 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.927e-06/0.3164, allocations: 0 / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.3165, allocations: 3.984 kB / 1.062 GB, free: 2.047 MB / 0.8106 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 (1): * Single equations (assignments): 1 * 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 5.924e-05/0.3165, allocations: 109.8 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-06/0.3165, allocations: 4.031 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.281e-05/0.3166, allocations: 40.7 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.3166, allocations: 4 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3166, allocations: 0 / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3166, allocations: 0 / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.036e-05/0.3167, allocations: 145.7 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3167, allocations: 0 / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/0.3167, allocations: 4 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3168, allocations: 0 / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3168, allocations: 3.938 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3168, allocations: 4.031 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3168, allocations: 0 / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.222e-05/0.3168, allocations: 57.12 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.722e-05/0.3169, allocations: 81.11 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.3169, allocations: 3.938 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-06/0.3169, allocations: 4 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.3169, allocations: 0 / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.3169, allocations: 7.969 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.204e-05/0.317, allocations: 75.28 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.317, allocations: 0 / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001996/0.3172, allocations: 23.98 kB / 1.062 GB, free: 1.391 MB / 0.8106 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 (1): * Single equations (assignments): 1 * 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.0002006/0.3174, allocations: 119.2 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.258e-05/0.3174, allocations: 8 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3174, allocations: 0 / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.61e-06/0.3175, allocations: 0 / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.3176, allocations: 9.938 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001764/0.3178, allocations: 108.4 kB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.318, allocations: 0.6692 MB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.243e-05/0.318, allocations: 7.438 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of SimCode: time 5.51e-07/0.318, allocations: 3.938 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of Templates: time 0.001772/0.3198, allocations: 0.5543 MB / 1.064 GB, free: 15.84 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches