Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008398/0.008398, allocations: 98.34 kB / 15.73 MB, free: 6.008 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.001959/0.001959, allocations: 189.5 kB / 16.67 MB, free: 5.938 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: 222.9 MB / 240.4 MB, free: 4.316 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.688/2.688, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.91 kB / 1.019 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2828, allocations: 151.6 MB / 1.167 GB, free: 6.746 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.00219/0.285, allocations: 0.5872 MB / 1.167 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007299/0.2858, allocations: 195.7 kB / 1.167 GB, free: 5.969 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.708e-05/0.2858, allocations: 0 / 1.167 GB, free: 5.969 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.2859, allocations: 3.938 kB / 1.167 GB, free: 5.965 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.294e-06/0.2859, allocations: 0 / 1.167 GB, free: 5.965 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.2863, allocations: 55.83 kB / 1.167 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.055e-05/0.2864, allocations: 3.984 kB / 1.167 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.2864, allocations: 4 kB / 1.167 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.42e-05/0.2865, allocations: 4 kB / 1.167 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.292e-05/0.2865, allocations: 0 / 1.167 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.336e-06/0.2865, allocations: 0 / 1.167 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.2867, allocations: 59.94 kB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.093e-06/0.2868, allocations: 0 / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.818e-05/0.2868, allocations: 3.984 kB / 1.168 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.2869, allocations: 35.83 kB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2869, allocations: 0 / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.112e-06/0.287, allocations: 0 / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.287, allocations: 0 / 1.168 GB, free: 5.801 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003898/0.2874, allocations: 327.5 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.2874, allocations: 8.031 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.2875, allocations: 8.812 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2876, allocations: 160.4 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.2876, allocations: 384 / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.2876, allocations: 384 / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.2877, allocations: 30.27 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2878, allocations: 192 / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2878, allocations: 3.938 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2878, allocations: 4 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.297e-05/0.2878, allocations: 3.938 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.288, allocations: 153.7 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.959e-05/0.2881, allocations: 14.58 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.27e-05/0.2881, allocations: 8.953 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009234/0.289, allocations: 461.5 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.2891, allocations: 30.56 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.2891, allocations: 0 / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001408/0.2892, allocations: 41.53 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.2893, allocations: 51.41 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.398e-05/0.2893, allocations: 93.97 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.2894, allocations: 33.7 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.2894, allocations: 80.14 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.2894, allocations: 4 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.2895, allocations: 9.719 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2896, allocations: 310.8 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.2897, allocations: 4 kB / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-06/0.2897, allocations: 0 / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.259e-05/0.2897, allocations: 12.92 kB / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2897, allocations: 0 / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.393e-05/0.2898, allocations: 41.62 kB / 1.169 GB, free: 3.625 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2898, allocations: 4 kB / 1.169 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2898, allocations: 0 / 1.169 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.2899, allocations: 7.938 kB / 1.169 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.219e-05/0.2899, allocations: 0 / 1.169 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2899, allocations: 0 / 1.169 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.29, allocations: 4 kB / 1.169 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.29, allocations: 0 / 1.169 GB, free: 3.609 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 (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 9.533e-05/0.2901, allocations: 113.9 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-06/0.2901, allocations: 3.938 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.018e-05/0.2902, allocations: 40.75 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2902, allocations: 3.938 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2902, allocations: 0 / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2902, allocations: 0 / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.2903, allocations: 149.7 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2904, allocations: 7.938 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.5e-05/0.2904, allocations: 3.984 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.2904, allocations: 8.016 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.2904, allocations: 3.938 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2904, allocations: 0 / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2904, allocations: 0 / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.13e-05/0.2905, allocations: 57.14 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.2906, allocations: 77.11 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.2906, allocations: 7.922 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-06/0.2906, allocations: 4.031 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.2906, allocations: 4 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.2906, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.074e-05/0.2907, allocations: 75.28 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.084e-06/0.2907, allocations: 0 / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003444/0.291, allocations: 19.88 kB / 1.17 GB, free: 2.938 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 (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.0002305/0.2913, allocations: 119.2 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.168e-05/0.2914, allocations: 4 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2914, allocations: 0 / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.808e-06/0.2914, allocations: 4 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.2916, allocations: 2.031 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001912/0.2918, allocations: 76.94 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.2921, allocations: 0.6768 MB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.048e-05/0.2921, allocations: 4.125 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.2921, allocations: 7.438 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of SimCode: time 2.9e-07/0.2921, allocations: 0 / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of Templates: time 0.002935/0.2951, allocations: 420.4 kB / 1.171 GB, free: 1.574 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches