Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_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.006624/0.006624, allocations: 100 kB / 15.73 MB, free: 6.016 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.001462/0.001462, allocations: 195.9 kB / 16.67 MB, free: 5.926 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.554/2.554, allocations: 472.7 MB / 0.7453 GB, free: 484 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.89 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9029/0.9041, allocations: 159.9 MB / 1.226 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002683/0.9068, allocations: 1.428 MB / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0005813/0.9075, allocations: 263.1 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.138e-05/0.9075, allocations: 0 / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.9075, allocations: 0 / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.105e-05/0.9076, allocations: 7.938 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.908, allocations: 55.83 kB / 1.227 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.418e-05/0.9081, allocations: 19.98 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.907e-05/0.9082, allocations: 11.98 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.885e-05/0.9082, allocations: 15.92 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.148e-05/0.9083, allocations: 7.938 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.9083, allocations: 0 / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.9085, allocations: 59.94 kB / 1.227 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.9085, allocations: 8 kB / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.9085, allocations: 7.922 kB / 1.227 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.9087, allocations: 55.38 kB / 1.228 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.9087, allocations: 3.938 kB / 1.228 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9087, allocations: 3.938 kB / 1.228 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.9087, allocations: 4 kB / 1.228 GB, free: 11.5 MB / 0.9512 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.0004868/0.9092, allocations: 348.4 kB / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.9092, allocations: 8.031 kB / 1.228 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.9093, allocations: 4.891 kB / 1.228 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.9094, allocations: 168.4 kB / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.9094, allocations: 384 / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-06/0.9094, allocations: 384 / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.9096, allocations: 58.22 kB / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.9096, allocations: 192 / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.9097, allocations: 3.938 kB / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.9097, allocations: 0 / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.9098, allocations: 31.97 kB / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.9102, allocations: 256.9 kB / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.9103, allocations: 38.5 kB / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.504e-05/0.9104, allocations: 20.91 kB / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007397/0.9112, allocations: 461.5 kB / 1.229 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.9112, allocations: 34.56 kB / 1.229 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.9112, allocations: 0 / 1.229 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003469/0.9116, allocations: 81.58 kB / 1.229 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.9116, allocations: 55.41 kB / 1.229 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.103e-05/0.9117, allocations: 97.84 kB / 1.229 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.9117, allocations: 29.77 kB / 1.229 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.9118, allocations: 96.09 kB / 1.229 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.9118, allocations: 7.891 kB / 1.229 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.9118, allocations: 9.719 kB / 1.229 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.912, allocations: 322.8 kB / 1.23 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-05/0.9121, allocations: 11.98 kB / 1.23 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.845e-05/0.9121, allocations: 15.98 kB / 1.23 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.9123, allocations: 40.89 kB / 1.23 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9123, allocations: 3.938 kB / 1.23 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001907/0.9125, allocations: 69.59 kB / 1.23 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.9125, allocations: 4 kB / 1.23 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.9125, allocations: 0 / 1.23 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.9125, allocations: 0 / 1.23 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.9126, allocations: 16.02 kB / 1.23 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.9126, allocations: 3.984 kB / 1.23 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.9127, allocations: 7.984 kB / 1.23 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.9127, allocations: 0 / 1.23 GB, free: 8.922 MB / 0.9512 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 7.312e-05/0.9128, allocations: 110.3 kB / 1.23 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.9128, allocations: 8 kB / 1.23 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.913, allocations: 72.72 kB / 1.23 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.913, allocations: 3.938 kB / 1.23 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9131, allocations: 0 / 1.23 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.9131, allocations: 4 kB / 1.23 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.9132, allocations: 161.6 kB / 1.23 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.9133, allocations: 4 kB / 1.23 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.293e-05/0.9133, allocations: 7.984 kB / 1.23 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.9133, allocations: 0 / 1.23 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.9133, allocations: 0 / 1.23 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.9133, allocations: 4 kB / 1.23 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.9133, allocations: 4.031 kB / 1.23 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.9136, allocations: 171.3 kB / 1.23 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.9136, allocations: 77.11 kB / 1.23 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.9137, allocations: 0 / 1.23 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/0.9137, allocations: 7.984 kB / 1.23 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.9138, allocations: 4.031 kB / 1.23 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.9138, allocations: 0 / 1.23 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.81e-05/0.9138, allocations: 91.39 kB / 1.23 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9138, allocations: 0 / 1.23 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002349/0.9141, allocations: 19.94 kB / 1.23 GB, free: 8.086 MB / 0.9512 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.0002175/0.9143, allocations: 115.2 kB / 1.231 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.9145, allocations: 35.95 kB / 1.231 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9145, allocations: 0 / 1.231 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.197e-05/0.9146, allocations: 19.98 kB / 1.231 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.9148, allocations: 13.28 kB / 1.231 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.9151, allocations: 105.5 kB / 1.231 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.9154, allocations: 0.6768 MB / 1.231 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.354e-05/0.9154, allocations: 4 kB / 1.231 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.9155, allocations: 7.438 kB / 1.231 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.9155, allocations: 0 / 1.231 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of Templates: time 0.002902/0.9184, allocations: 0.6658 MB / 1.232 GB, free: 6.391 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches