Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001655, allocations: 104.6 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.001974/0.001974, allocations: 189.8 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.329/1.329, 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.477/2.477, allocations: 437 MB / 0.711 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 68.39 kB / 0.8699 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3268, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002355/0.3292, allocations: 0.5747 MB / 1.019 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005393/0.3298, allocations: 187.3 kB / 1.019 GB, free: 9.906 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.476e-05/0.3298, allocations: 4 kB / 1.019 GB, free: 9.902 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.3298, allocations: 0 / 1.019 GB, free: 9.902 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.913e-06/0.3299, allocations: 0 / 1.019 GB, free: 9.902 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.3304, allocations: 59.72 kB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.412e-05/0.3304, allocations: 0 / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.537e-05/0.3305, allocations: 0 / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.651e-05/0.3305, allocations: 0 / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.397e-05/0.3305, allocations: 7.938 kB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.504e-06/0.3306, allocations: 0 / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.3308, allocations: 59.94 kB / 1.019 GB, free: 9.777 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.277e-06/0.3308, allocations: 3.938 kB / 1.019 GB, free: 9.773 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.3308, allocations: 7.984 kB / 1.019 GB, free: 9.766 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.331, allocations: 35.89 kB / 1.019 GB, free: 9.73 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.331, allocations: 0 / 1.019 GB, free: 9.73 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.583e-06/0.331, allocations: 4 kB / 1.019 GB, free: 9.727 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.331, allocations: 0 / 1.019 GB, free: 9.727 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003374/0.3313, allocations: 313.5 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.3314, allocations: 8.922 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.3314, allocations: 8.922 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.3316, allocations: 160.4 kB / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.3316, allocations: 384 / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.3316, allocations: 4.375 kB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.3317, allocations: 26.27 kB / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3317, allocations: 4.172 kB / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3318, allocations: 7.938 kB / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3318, allocations: 0 / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.077e-05/0.3318, allocations: 7.938 kB / 1.019 GB, free: 9.105 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.332, allocations: 145.7 kB / 1.02 GB, free: 8.914 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.669e-05/0.332, allocations: 22.61 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.3321, allocations: 4.859 kB / 1.02 GB, free: 8.875 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008586/0.3329, allocations: 453.5 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.333, allocations: 34.55 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.333, allocations: 4 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001595/0.3331, allocations: 37.58 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.3332, allocations: 51.41 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.075e-05/0.3333, allocations: 93.86 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.3333, allocations: 29.64 kB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.3333, allocations: 80.14 kB / 1.02 GB, free: 7.969 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.3334, allocations: 4 kB / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.3334, allocations: 9.719 kB / 1.02 GB, free: 7.949 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3335, allocations: 315 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.3335, allocations: 0 / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.668e-06/0.3336, allocations: 7.984 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.763e-05/0.3336, allocations: 8.859 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3336, allocations: 0 / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.915e-05/0.3337, allocations: 37.64 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3337, allocations: 4 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.3337, allocations: 0 / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3337, allocations: 4.031 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.174e-05/0.3338, allocations: 11.94 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3338, allocations: 0 / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.063e-05/0.3338, allocations: 0 / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.3338, allocations: 0 / 1.021 GB, free: 7.551 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 (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 8.397e-05/0.3339, allocations: 112.2 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.3339, allocations: 4 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.334, allocations: 48.7 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3341, allocations: 0 / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3341, allocations: 4.031 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3341, allocations: 0 / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.3342, allocations: 145.7 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3342, allocations: 0 / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.707e-05/0.3342, allocations: 4 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3342, allocations: 0 / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3342, allocations: 3.938 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3343, allocations: 0 / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3343, allocations: 0 / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.89e-05/0.3343, allocations: 65.12 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.3344, allocations: 77.11 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.3344, allocations: 3.938 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-06/0.3344, allocations: 0 / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.3344, allocations: 0 / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.3345, allocations: 0 / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.928e-05/0.3345, allocations: 83.16 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3345, allocations: 4 kB / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002267/0.3347, allocations: 12 kB / 1.021 GB, free: 6.895 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 (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.0002392/0.335, allocations: 123.2 kB / 1.021 GB, free: 6.766 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.691e-05/0.3351, allocations: 4 kB / 1.021 GB, free: 6.762 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3351, allocations: 0 / 1.021 GB, free: 6.762 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.002e-06/0.3351, allocations: 0 / 1.021 GB, free: 6.762 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.3353, allocations: 16.11 kB / 1.021 GB, free: 6.746 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.3356, allocations: 106.7 kB / 1.021 GB, free: 6.609 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.3358, allocations: 0.669 MB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.3359, allocations: 11.44 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of SimCode: time 3e-07/0.3359, allocations: 0 / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of Templates: time 0.002354/0.3382, allocations: 0.5633 MB / 1.023 GB, free: 5.34 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches