Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007545/0.007545, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001608/0.001609, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.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.671/2.671, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3575, allocations: 151.6 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.00265/0.3602, allocations: 1.424 MB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000605/0.3608, allocations: 260 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.3608, allocations: 0 / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.3609, allocations: 3.938 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.747e-05/0.3609, allocations: 3.984 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.3612, allocations: 63.81 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.576e-05/0.3613, allocations: 23.92 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.24e-05/0.3614, allocations: 4 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.519e-05/0.3614, allocations: 11.94 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.487e-05/0.3615, allocations: 7.984 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.3615, allocations: 7.938 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.3616, allocations: 67.86 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.708e-06/0.3616, allocations: 4 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.3617, allocations: 7.938 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.3618, allocations: 55.84 kB / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3618, allocations: 0 / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3618, allocations: 0 / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3618, allocations: 0 / 1.168 GB, free: 4.84 MB / 0.92 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.0004238/0.3622, allocations: 347.4 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.3623, allocations: 8.031 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.3623, allocations: 4.938 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3625, allocations: 172.2 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.3625, allocations: 4.312 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.3625, allocations: 4.375 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.3627, allocations: 46.23 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3627, allocations: 192 / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3627, allocations: 7.938 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3627, allocations: 4 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.3629, allocations: 31.95 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.3632, allocations: 245 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.3633, allocations: 42.42 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.592e-05/0.3634, allocations: 32.89 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006567/0.3641, allocations: 457.5 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.3641, allocations: 30.56 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.3641, allocations: 4 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003456/0.3645, allocations: 81.64 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.3645, allocations: 55.34 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/0.3646, allocations: 97.86 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.3646, allocations: 29.64 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.3647, allocations: 88.12 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.3647, allocations: 4.078 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.3647, allocations: 17.72 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3648, allocations: 314.8 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-05/0.3649, allocations: 11.98 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.892e-05/0.365, allocations: 23.97 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.3651, allocations: 36.89 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3652, allocations: 4 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001892/0.3653, allocations: 73.48 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3654, allocations: 6.188 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3654, allocations: 4 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3654, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.202e-05/0.3655, allocations: 7.984 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.3655, allocations: 0 / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.3656, allocations: 8.031 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.3656, allocations: 0 / 1.171 GB, free: 2.266 MB / 0.92 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 6.804e-05/0.3656, allocations: 117.8 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.3657, allocations: 3.984 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.3659, allocations: 72.72 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3659, allocations: 0 / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3659, allocations: 4.031 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3659, allocations: 0 / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.3661, allocations: 157.6 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3661, allocations: 0 / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.3661, allocations: 19.92 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3661, allocations: 0 / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.3662, allocations: 0 / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3662, allocations: 0 / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3662, allocations: 0 / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.3664, allocations: 167.5 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.3664, allocations: 81.06 kB / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.3665, allocations: 3.984 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.831e-05/0.3665, allocations: 4 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.3666, allocations: 4 kB / 1.171 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.3666, allocations: 0 / 1.171 GB, free: 1.543 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.611e-05/0.3666, allocations: 87.27 kB / 1.171 GB, free: 1.457 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3666, allocations: 4.031 kB / 1.171 GB, free: 1.453 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002359/0.3669, allocations: 15.94 kB / 1.171 GB, free: 1.438 MB / 0.92 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.0001964/0.3671, allocations: 123.1 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.3673, allocations: 39.97 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3673, allocations: 0 / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.3674, allocations: 27.91 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.3676, allocations: 7.922 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.3679, allocations: 105.4 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.3681, allocations: 0.6729 MB / 1.172 GB, free: 412 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.344e-05/0.3682, allocations: 4.125 kB / 1.172 GB, free: 408 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.097e-05/0.3682, allocations: 11.44 kB / 1.172 GB, free: 396 kB / 0.92 GB Notification: Performance of SimCode: time 1.503e-06/0.3682, allocations: 0 / 1.172 GB, free: 396 kB / 0.92 GB Notification: Performance of Templates: time 0.002878/0.3711, allocations: 0.6661 MB / 1.173 GB, free: 15.72 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches