Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_10_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_10_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.009798/0.009798, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.002346/0.002346, allocations: 192.2 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.548/2.548, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 67.91 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8528/0.8543, allocations: 151.6 MB / 1.167 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002256/0.8566, allocations: 0.5727 MB / 1.167 GB, free: 3.41 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00056/0.8572, allocations: 193.2 kB / 1.167 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.533e-05/0.8572, allocations: 0 / 1.167 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.8573, allocations: 0 / 1.167 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.084e-06/0.8573, allocations: 0 / 1.167 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.8578, allocations: 57.58 kB / 1.167 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.562e-05/0.8579, allocations: 4 kB / 1.167 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.8579, allocations: 0 / 1.167 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.775e-05/0.858, allocations: 0 / 1.167 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.962e-05/0.858, allocations: 3.984 kB / 1.167 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.644e-06/0.858, allocations: 0 / 1.167 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002249/0.8582, allocations: 59.89 kB / 1.168 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.688e-06/0.8583, allocations: 3.938 kB / 1.168 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.8583, allocations: 3.984 kB / 1.168 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.8584, allocations: 27.95 kB / 1.168 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8584, allocations: 0 / 1.168 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8584, allocations: 4 kB / 1.168 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.8585, allocations: 0 / 1.168 GB, free: 3.062 MB / 0.8887 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.0003512/0.8588, allocations: 324.5 kB / 1.168 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.8589, allocations: 8.922 kB / 1.168 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.8589, allocations: 4.938 kB / 1.168 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.859, allocations: 160.4 kB / 1.168 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.859, allocations: 4.312 kB / 1.168 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.8591, allocations: 4.375 kB / 1.168 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.711e-05/0.8592, allocations: 34.19 kB / 1.168 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.8592, allocations: 4.188 kB / 1.168 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.8592, allocations: 3.938 kB / 1.168 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.8592, allocations: 0 / 1.168 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.058e-05/0.8592, allocations: 4 kB / 1.168 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.8594, allocations: 145.7 kB / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.849e-05/0.8594, allocations: 18.58 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.8594, allocations: 8.953 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008406/0.8603, allocations: 457.5 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.8603, allocations: 38.5 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.8603, allocations: 0 / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.8605, allocations: 37.59 kB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.8605, allocations: 59.52 kB / 1.169 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.694e-05/0.8606, allocations: 89.86 kB / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.8606, allocations: 25.7 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.491e-05/0.8606, allocations: 86.55 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.8606, allocations: 7.938 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.8607, allocations: 13.72 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.8608, allocations: 310.8 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-06/0.8608, allocations: 0 / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.8608, allocations: 0 / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.491e-05/0.8608, allocations: 16.86 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.8609, allocations: 0 / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.826e-05/0.8609, allocations: 41.69 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.8609, allocations: 4 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.8609, allocations: 0 / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.861, allocations: 3.938 kB / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.72e-05/0.861, allocations: 0 / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.861, allocations: 4 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.017e-05/0.861, allocations: 32 / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.861, allocations: 4 kB / 1.169 GB, free: 0.8633 MB / 0.8887 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 6.423e-05/0.8611, allocations: 105.8 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.8611, allocations: 0 / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.208e-05/0.8612, allocations: 44.69 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.8612, allocations: 0 / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.8612, allocations: 4 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.8613, allocations: 0 / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.957e-05/0.8613, allocations: 145.7 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8614, allocations: 8.016 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.269e-05/0.8614, allocations: 0 / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.8614, allocations: 7.938 kB / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.8614, allocations: 7.922 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.8614, allocations: 4 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8614, allocations: 0 / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.359e-05/0.8615, allocations: 57.08 kB / 1.17 GB, free: 408 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.8615, allocations: 85.09 kB / 1.17 GB, free: 304 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.8615, allocations: 7.969 kB / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-06/0.8616, allocations: 0 / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.8616, allocations: 0 / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.8616, allocations: 0 / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.302e-05/0.8616, allocations: 75.28 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8616, allocations: 3.938 kB / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002013/0.8618, allocations: 12 kB / 1.17 GB, free: 204 kB / 0.8887 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.0002317/0.8621, allocations: 123.2 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 7.74e-05/0.8621, allocations: 4 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8622, allocations: 0 / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 8.486e-06/0.8622, allocations: 3.938 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.8623, allocations: 4 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002098/0.8625, allocations: 75.88 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.8628, allocations: 0.6768 MB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.137e-05/0.8628, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.773e-05/0.8628, allocations: 11.44 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of SimCode: time 3.01e-07/0.8628, allocations: 0 / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of Templates: time 0.002499/0.8653, allocations: 404.3 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches