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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.51/2.51, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002522/0.002522, allocations: 71.89 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5613/0.5639, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001949/0.5658, allocations: 0.5706 MB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004722/0.5663, allocations: 187.3 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.59e-05/0.5664, allocations: 0 / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.303e-05/0.5664, allocations: 0 / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.829e-06/0.5664, allocations: 0 / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.5668, allocations: 55.08 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.754e-05/0.5668, allocations: 11.98 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.5669, allocations: 3.938 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.206e-05/0.5669, allocations: 0 / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.527e-05/0.5669, allocations: 0 / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.792e-06/0.5669, allocations: 0 / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.5671, allocations: 59.94 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.816e-06/0.5671, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.269e-05/0.5671, allocations: 3.938 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.5672, allocations: 35.89 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.5672, allocations: 0 / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.52e-07/0.5672, allocations: 0 / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.5672, allocations: 0 / 1.018 GB, free: 1.57 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.0002812/0.5675, allocations: 323.6 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.5676, allocations: 8.031 kB / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.5676, allocations: 34.75 kB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.2e-05/0.5676, allocations: 0.9375 kB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.869e-05/0.5677, allocations: 160.4 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.5677, allocations: 4.375 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.5678, allocations: 384 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.5679, allocations: 38.23 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.5679, allocations: 7.938 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.5679, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5679, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.358e-05/0.5679, allocations: 7.938 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.5681, allocations: 145.6 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.953e-05/0.5681, allocations: 18.61 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.5681, allocations: 8.859 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006544/0.5688, allocations: 457.5 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.5688, allocations: 34.56 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.5688, allocations: 0 / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001267/0.569, allocations: 41.58 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.569, allocations: 55.52 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.836e-05/0.5691, allocations: 93.86 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.5691, allocations: 25.7 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.063e-05/0.5691, allocations: 84.08 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.5691, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.5692, allocations: 17.72 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.5692, allocations: 310.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-06/0.5693, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-06/0.5693, allocations: 4 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.333e-05/0.5693, allocations: 12.92 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5693, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.263e-05/0.5694, allocations: 41.62 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.5694, allocations: 7.938 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5694, allocations: 3.938 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.5694, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.176e-05/0.5694, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.5695, allocations: 7.984 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.013e-05/0.5695, allocations: 0 / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.5695, allocations: 4.031 kB / 1.02 GB, free: 15.32 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 5.613e-05/0.5695, allocations: 105.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-06/0.5695, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.428e-05/0.5696, allocations: 48.69 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5696, allocations: 4 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5696, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5697, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.39e-05/0.5697, allocations: 141.7 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5697, allocations: 32 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.4e-05/0.5698, allocations: 11.98 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5698, allocations: 4 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.5698, allocations: 3.938 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.5698, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5698, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.505e-05/0.5698, allocations: 53.14 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.5699, allocations: 85.09 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.5699, allocations: 7.969 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-06/0.5699, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-06/0.5699, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.5699, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.529e-05/0.57, allocations: 79.22 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.57, allocations: 3.938 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001872/0.5701, allocations: 16 kB / 1.021 GB, free: 14.67 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.0003848/0.5705, allocations: 0.6146 MB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.073e-05/0.5706, allocations: 11.98 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5706, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.807e-06/0.5706, allocations: 8.031 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.5708, allocations: 7.156 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.571, allocations: 110.6 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.5712, allocations: 0.6768 MB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.748e-06/0.5712, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.5712, allocations: 7.438 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5712, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.5852, allocations: 1.115 MB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.749/7.335, allocations: 8.234 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.csv","/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