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.001347/0.001347, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001398/0.001398, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.449/1.449, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.827/2.827, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 63.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6082/0.6101, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001738/0.6119, allocations: 0.6488 MB / 1.017 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004487/0.6123, allocations: 195.4 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.388e-06/0.6123, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.6124, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.649e-06/0.6124, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.6127, allocations: 43.91 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.692e-05/0.6127, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.074e-05/0.6128, allocations: 3.984 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.132e-05/0.6128, allocations: 4 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.863e-05/0.6128, allocations: 7.984 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.34e-06/0.6128, allocations: 0 / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.613, allocations: 59.89 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.082e-06/0.613, allocations: 0 / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.625e-05/0.613, allocations: 3.938 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.6131, allocations: 39.94 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.6131, allocations: 0 / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.527e-06/0.6132, allocations: 0 / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.6132, allocations: 3.938 kB / 1.018 GB, free: 1.738 MB / 0.7637 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.000314/0.6135, allocations: 327.5 kB / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.6135, allocations: 8.031 kB / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.6136, allocations: 0.9375 kB / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.6137, allocations: 160.4 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.6137, allocations: 384 / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.6137, allocations: 4.375 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.624e-05/0.6138, allocations: 30.25 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.6138, allocations: 192 / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.6138, allocations: 3.938 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.6138, allocations: 0 / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.843e-05/0.6139, allocations: 8 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.614, allocations: 149.7 kB / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.127e-05/0.6141, allocations: 18.52 kB / 1.018 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.631e-05/0.6141, allocations: 8.953 kB / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007666/0.6149, allocations: 461.4 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.6149, allocations: 30.56 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.6149, allocations: 0 / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001296/0.615, allocations: 41.58 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.6151, allocations: 55.39 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.387e-05/0.6151, allocations: 89.86 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.6152, allocations: 25.7 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.6152, allocations: 88.27 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.6152, allocations: 0 / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.6153, allocations: 13.72 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6154, allocations: 314.8 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-06/0.6154, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.6154, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.688e-05/0.6155, allocations: 8.859 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6155, allocations: 64 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.747e-05/0.6155, allocations: 49.62 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.6156, allocations: 8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.6156, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.6156, allocations: 3.938 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.472e-05/0.6156, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.6156, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.174e-05/0.6157, allocations: 4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.6157, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 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 7.288e-05/0.6157, allocations: 109.9 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-06/0.6158, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.708e-05/0.6158, allocations: 44.75 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.6158, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6159, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.6159, allocations: 7.938 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.616, allocations: 141.7 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.616, allocations: 3.984 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.059e-05/0.616, allocations: 3.938 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.616, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.616, allocations: 11.97 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.616, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.616, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.573e-05/0.6161, allocations: 53.14 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.6162, allocations: 81.09 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.6162, allocations: 7.938 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.792e-06/0.6162, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-06/0.6162, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.6162, allocations: 4.031 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.396e-05/0.6163, allocations: 75.28 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6163, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001959/0.6165, allocations: 16 kB / 1.02 GB, free: 14.89 MB / 0.7794 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.0002094/0.6167, allocations: 119.7 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.066e-05/0.6168, allocations: 11.94 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.6168, allocations: 0 / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.061e-06/0.6168, allocations: 0 / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.6169, allocations: 0 / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001483/0.6171, allocations: 84.97 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.6174, allocations: 0.6729 MB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.207e-06/0.6174, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.228e-05/0.6174, allocations: 7.438 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.6174, allocations: 8.125 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.002485/0.6199, allocations: 410.6 kB / 1.021 GB, free: 13.54 MB / 0.7794 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=400 -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/jenkins/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