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.008835/0.008835, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001904/0.001904, allocations: 186.8 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.493/2.493, allocations: 390.2 MB / 0.6648 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.84 kB / 0.9508 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3273, allocations: 140.4 MB / 1.088 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003176/0.3305, allocations: 1.431 MB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006949/0.3312, allocations: 240.5 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.3313, allocations: 4 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.621e-05/0.3313, allocations: 3.938 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.297e-05/0.3314, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.3319, allocations: 55.77 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.914e-05/0.332, allocations: 27.92 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3321, allocations: 7.984 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.047e-05/0.3321, allocations: 8 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.992e-05/0.3322, allocations: 15.92 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.3322, allocations: 0 / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.3324, allocations: 59.88 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.3324, allocations: 4 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.3324, allocations: 11.94 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.3326, allocations: 51.86 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3326, allocations: 4 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3326, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.3327, allocations: 0 / 1.09 GB, free: 15.62 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.0005499/0.3332, allocations: 343.5 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.3333, allocations: 12.03 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.3333, allocations: 4.844 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.3335, allocations: 160.4 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3335, allocations: 384 / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.3335, allocations: 8.375 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.3337, allocations: 54.17 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3337, allocations: 192 / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.3338, allocations: 7.938 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.3338, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.3339, allocations: 35.95 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.3343, allocations: 241 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.3345, allocations: 46.44 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.749e-05/0.3346, allocations: 20.89 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007202/0.3353, allocations: 461.5 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.3353, allocations: 30.56 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.3353, allocations: 0 / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003766/0.3357, allocations: 81.64 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.3358, allocations: 51.41 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.767e-05/0.3359, allocations: 97.97 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.3359, allocations: 37.64 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.3359, allocations: 87.98 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.336, allocations: 4 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.336, allocations: 9.719 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.3361, allocations: 322.8 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.3362, allocations: 11.98 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.072e-05/0.3363, allocations: 19.98 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.3364, allocations: 40.81 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3364, allocations: 3.938 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001819/0.3366, allocations: 73.7 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3367, allocations: 4 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3367, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3367, allocations: 4.094 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.556e-05/0.3368, allocations: 19.91 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3368, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.369e-05/0.3369, allocations: 7.984 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.3369, allocations: 0 / 1.092 GB, free: 13.05 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 9.35e-05/0.337, allocations: 113.8 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.337, allocations: 4 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.3372, allocations: 72.72 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3372, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3372, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3373, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.3374, allocations: 169.6 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3374, allocations: 0 / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.368e-05/0.3375, allocations: 7.984 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3375, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3375, allocations: 4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3375, allocations: 11.97 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3375, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.3377, allocations: 159.5 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.3378, allocations: 81.02 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.3378, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.3379, allocations: 7.984 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.3379, allocations: 8.031 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.3379, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.133e-05/0.338, allocations: 79.28 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.338, allocations: 0 / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002363/0.3382, allocations: 16 kB / 1.093 GB, free: 12.23 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.0002068/0.3384, allocations: 119.2 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.3387, allocations: 39.89 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3387, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.516e-05/0.3388, allocations: 23.92 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.339, allocations: 13.59 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.3393, allocations: 107.2 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.3396, allocations: 0.6768 MB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.306e-05/0.3396, allocations: 4 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.13e-05/0.3396, allocations: 15.44 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3397, allocations: 0 / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of Templates: time 0.003099/0.3428, allocations: 0.6503 MB / 1.094 GB, free: 10.53 MB / 0.8575 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