Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00208/0.00208, allocations: 103.4 kB / 15.98 MB, free: 5.891 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.002153/0.002153, allocations: 193.9 kB / 16.91 MB, free: 5.746 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.434/1.434, allocations: 222.9 MB / 240.6 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.895/2.895, allocations: 469.8 MB / 0.7427 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 69.95 kB / 0.9087 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.311, allocations: 159.2 MB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001741/0.3128, allocations: 0.6464 MB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004641/0.3132, allocations: 201.1 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.788e-06/0.3133, allocations: 0 / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.3133, allocations: 0 / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.16e-06/0.3133, allocations: 4 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.3137, allocations: 47.91 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.119e-05/0.3137, allocations: 4 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.3137, allocations: 7.984 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.161e-05/0.3138, allocations: 0 / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.884e-05/0.3138, allocations: 3.938 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.31e-06/0.3138, allocations: 0 / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.314, allocations: 63.88 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.402e-06/0.314, allocations: 0 / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.975e-05/0.314, allocations: 4 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.226e-05/0.3141, allocations: 19.95 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3141, allocations: 4 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3141, allocations: 3.938 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.3141, allocations: 0 / 1.065 GB, free: 13.61 MB / 0.8262 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.0003667/0.3145, allocations: 319.6 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3145, allocations: 12.03 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.3146, allocations: 0.9375 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.3147, allocations: 160.4 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3147, allocations: 384 / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.3147, allocations: 4.359 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.492e-05/0.3148, allocations: 34.27 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.3148, allocations: 192 / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3149, allocations: 3.938 kB / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3149, allocations: 0 / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.542e-05/0.3149, allocations: 0 / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.3151, allocations: 149.7 kB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.798e-05/0.3151, allocations: 18.52 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.3151, allocations: 8.859 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007902/0.3159, allocations: 465.5 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.316, allocations: 30.56 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.316, allocations: 0 / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.000119/0.3161, allocations: 45.56 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.3161, allocations: 51.41 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.664e-05/0.3162, allocations: 89.86 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.3162, allocations: 29.64 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.3163, allocations: 84.14 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.3163, allocations: 7.938 kB / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.3163, allocations: 9.719 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3165, allocations: 310.8 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-06/0.3165, allocations: 4.125 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-06/0.3165, allocations: 7.984 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.047e-05/0.3165, allocations: 4.859 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.3165, allocations: 8 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.565e-05/0.3166, allocations: 37.64 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3166, allocations: 5.562 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.3166, allocations: 0 / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3167, allocations: 3.938 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.456e-05/0.3167, allocations: 8.094 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3167, allocations: 3.984 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.766e-06/0.3167, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-06/0.3167, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8262 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.887e-05/0.3168, allocations: 109.8 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.3168, allocations: 4 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.961e-05/0.3169, allocations: 36.77 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3169, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3169, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.3169, allocations: 4.031 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.3171, allocations: 153.6 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3171, allocations: 3.938 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.258e-05/0.3171, allocations: 4 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.3171, allocations: 0 / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.3171, allocations: 3.938 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.3171, allocations: 0 / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3171, allocations: 0 / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.272e-05/0.3172, allocations: 65.12 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.3172, allocations: 77.11 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.3173, allocations: 3.938 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.662e-06/0.3173, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-06/0.3173, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3173, allocations: 3.984 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.565e-05/0.3173, allocations: 83.22 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.3173, allocations: 0 / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001862/0.3175, allocations: 8 kB / 1.067 GB, free: 10.77 MB / 0.8262 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.0002122/0.3177, allocations: 123.3 kB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.047e-05/0.3178, allocations: 7.938 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.3178, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.714e-06/0.3178, allocations: 4 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.318, allocations: 11.56 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001866/0.3182, allocations: 106.6 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.3185, allocations: 0.6729 MB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.3186, allocations: 7.438 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3186, allocations: 0 / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.001991/0.3206, allocations: 0.5582 MB / 1.069 GB, free: 9.211 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches