Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_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.001263/0.001264, allocations: 104.3 kB / 16.27 MB, free: 6.414 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.00126/0.00126, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.468/2.468, allocations: 437 MB / 0.711 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 67.41 kB / 0.8699 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.302, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002877/0.3049, allocations: 1.433 MB / 1.019 GB, free: 9.242 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005799/0.3055, allocations: 244.1 kB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.3055, allocations: 4 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.3056, allocations: 4 kB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.633e-05/0.3057, allocations: 3.938 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.3061, allocations: 63.66 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.657e-05/0.3061, allocations: 23.92 kB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.809e-05/0.3062, allocations: 4 kB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.059e-05/0.3063, allocations: 7.984 kB / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.483e-05/0.3063, allocations: 11.94 kB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.3064, allocations: 4 kB / 1.02 GB, free: 8.875 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.3065, allocations: 63.94 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.3065, allocations: 7.922 kB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.3066, allocations: 11.94 kB / 1.02 GB, free: 8.793 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.3067, allocations: 47.86 kB / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3067, allocations: 0 / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3067, allocations: 0 / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3067, allocations: 0 / 1.02 GB, free: 8.746 MB / 0.795 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.0004863/0.3072, allocations: 343.8 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3073, allocations: 16.62 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.3073, allocations: 4.844 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.3075, allocations: 168.4 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3075, allocations: 384 / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.3075, allocations: 4.375 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.3077, allocations: 50.23 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.3077, allocations: 192 / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3077, allocations: 3.938 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3077, allocations: 3.938 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.3079, allocations: 43.89 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.3083, allocations: 245 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.3084, allocations: 42.48 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.838e-05/0.3085, allocations: 20.91 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006842/0.3092, allocations: 457.5 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.3093, allocations: 34.5 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.3093, allocations: 0 / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003761/0.3096, allocations: 85.64 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.3097, allocations: 51.41 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.165e-05/0.3098, allocations: 101.8 kB / 1.021 GB, free: 6.82 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.3098, allocations: 25.7 kB / 1.021 GB, free: 6.789 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.3098, allocations: 81.67 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.3099, allocations: 7.906 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.3099, allocations: 13.84 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.31, allocations: 322.8 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.471e-05/0.3101, allocations: 11.98 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.45e-05/0.3102, allocations: 15.98 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.3104, allocations: 44.75 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3104, allocations: 4.062 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002157/0.3106, allocations: 69.52 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3106, allocations: 4 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3106, allocations: 3.938 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3107, allocations: 0 / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.613e-05/0.3107, allocations: 11.98 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3108, allocations: 0 / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.98e-05/0.3108, allocations: 7.984 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.3108, allocations: 4.031 kB / 1.022 GB, free: 6.172 MB / 0.795 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.42e-05/0.3109, allocations: 113.8 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.3109, allocations: 4 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.3112, allocations: 72.72 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3112, allocations: 0 / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3112, allocations: 0 / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3112, allocations: 3.984 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.3114, allocations: 165.6 kB / 1.022 GB, free: 5.754 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3114, allocations: 0 / 1.022 GB, free: 5.754 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.3115, allocations: 7.984 kB / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3115, allocations: 0 / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.3115, allocations: 0 / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3115, allocations: 0 / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3115, allocations: 4 kB / 1.022 GB, free: 5.742 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.3118, allocations: 163.4 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.3118, allocations: 92.89 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.3118, allocations: 4 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.786e-05/0.3119, allocations: 11.98 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.312, allocations: 0 / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.312, allocations: 0 / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.989e-05/0.312, allocations: 79.28 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.312, allocations: 0 / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002598/0.3123, allocations: 28.02 kB / 1.023 GB, free: 5.336 MB / 0.795 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.000217/0.3125, allocations: 111.2 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002222/0.3127, allocations: 35.95 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3127, allocations: 8.062 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.814e-05/0.3128, allocations: 19.92 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.3131, allocations: 11.94 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.3134, allocations: 123.3 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.3137, allocations: 0.6768 MB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.3137, allocations: 15.38 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.3137, allocations: 4.062 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of Templates: time 0.002264/0.316, allocations: 0.7639 MB / 1.024 GB, free: 3.504 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches