Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.006653/0.006653, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001654/0.001654, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.74/2.74, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001237, allocations: 67.91 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3249, allocations: 157.4 MB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001885/0.3269, allocations: 0.5758 MB / 1.208 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006016/0.3275, allocations: 203.3 kB / 1.209 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.79e-05/0.3275, allocations: 7.938 kB / 1.209 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.3276, allocations: 0 / 1.209 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.185e-06/0.3276, allocations: 0 / 1.209 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.3281, allocations: 51.83 kB / 1.209 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.011e-05/0.3282, allocations: 4 kB / 1.209 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.3282, allocations: 0 / 1.209 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.922e-05/0.3283, allocations: 4 kB / 1.209 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.753e-05/0.3283, allocations: 3.984 kB / 1.209 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.3283, allocations: 0 / 1.209 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.3285, allocations: 59.94 kB / 1.209 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.3286, allocations: 3.938 kB / 1.209 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.859e-05/0.3286, allocations: 0 / 1.209 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.3287, allocations: 35.88 kB / 1.209 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3287, allocations: 4 kB / 1.209 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3287, allocations: 0 / 1.209 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3288, allocations: 0 / 1.209 GB, free: 8.66 MB / 0.9669 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.0003569/0.3291, allocations: 319.6 kB / 1.209 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.3292, allocations: 12.61 kB / 1.209 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.3292, allocations: 0.9375 kB / 1.209 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.3293, allocations: 160.4 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3294, allocations: 4.375 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-06/0.3294, allocations: 384 / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.3295, allocations: 30.25 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3295, allocations: 192 / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3295, allocations: 3.938 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3295, allocations: 0 / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.438e-05/0.3296, allocations: 11.94 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.3297, allocations: 149.7 kB / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.407e-05/0.3298, allocations: 18.61 kB / 1.209 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.924e-05/0.3298, allocations: 4.859 kB / 1.209 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008491/0.3307, allocations: 461.5 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.3307, allocations: 30.56 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.3307, allocations: 0 / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001494/0.3309, allocations: 41.58 kB / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.3309, allocations: 51.41 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.952e-05/0.331, allocations: 89.86 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.331, allocations: 33.77 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.331, allocations: 84.14 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.3311, allocations: 7.891 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.3311, allocations: 13.72 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3312, allocations: 310.8 kB / 1.21 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.3312, allocations: 3.938 kB / 1.21 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-06/0.3313, allocations: 0 / 1.21 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.875e-05/0.3313, allocations: 8.922 kB / 1.21 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3313, allocations: 4 kB / 1.21 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.169e-05/0.3314, allocations: 37.64 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3314, allocations: 8 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3314, allocations: 3.984 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3314, allocations: 3.938 kB / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.469e-05/0.3315, allocations: 0 / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3315, allocations: 0 / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.3315, allocations: 4 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.3315, allocations: 0 / 1.211 GB, free: 6.469 MB / 0.9669 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.058e-05/0.3316, allocations: 109.9 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.3316, allocations: 0 / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.093e-05/0.3317, allocations: 48.69 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3317, allocations: 0 / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3317, allocations: 4 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3317, allocations: 4 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.174e-05/0.3318, allocations: 141.7 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3318, allocations: 0 / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.356e-05/0.3318, allocations: 0 / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3318, allocations: 4.031 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3319, allocations: 7.938 kB / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3319, allocations: 3.984 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3319, allocations: 0 / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.118e-05/0.3319, allocations: 53.14 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.332, allocations: 77.11 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.332, allocations: 7.938 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-06/0.332, allocations: 0 / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.175e-05/0.332, allocations: 8.016 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.332, allocations: 0 / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.357e-05/0.3321, allocations: 83.16 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3321, allocations: 0 / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002226/0.3323, allocations: 16 kB / 1.211 GB, free: 5.812 MB / 0.9669 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.000238/0.3325, allocations: 119.2 kB / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.265e-05/0.3326, allocations: 4 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3326, allocations: 4 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.003e-06/0.3326, allocations: 0 / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.3328, allocations: 1.547 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/0.333, allocations: 84.94 kB / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.3333, allocations: 0.6729 MB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.099e-05/0.3333, allocations: 4.062 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.278e-05/0.3333, allocations: 11.44 kB / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of SimCode: time 1.683e-06/0.3333, allocations: 0 / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of Templates: time 0.002432/0.3357, allocations: 430.5 kB / 1.212 GB, free: 4.438 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches