Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_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.00115/0.00115, allocations: 108 kB / 15.6 MB, free: 132 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.001138/0.001138, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.642/2.642, allocations: 437.1 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.91 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5941/0.5954, allocations: 151.6 MB / 1.017 GB, free: 2.633 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002689/0.5981, allocations: 1.433 MB / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005188/0.5987, allocations: 244.1 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.5987, allocations: 4 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.5988, allocations: 0 / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.647e-05/0.5988, allocations: 7.938 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.5992, allocations: 51.83 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.048e-05/0.5992, allocations: 27.92 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.544e-05/0.5993, allocations: 4 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.801e-05/0.5994, allocations: 15.97 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.39e-05/0.5994, allocations: 11.88 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.5994, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.5996, allocations: 63.94 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.5996, allocations: 4 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.5996, allocations: 7.938 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.5997, allocations: 51.91 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5997, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5997, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.5998, allocations: 0 / 1.019 GB, free: 0.7031 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003909/0.6002, allocations: 349.8 kB / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.6002, allocations: 11.97 kB / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.901e-05/0.6002, allocations: 38.75 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.138e-05/0.6003, allocations: 0.9375 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.431e-05/0.6004, allocations: 168.2 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-06/0.6004, allocations: 384 / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.6004, allocations: 8.375 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.6006, allocations: 50.23 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.6006, allocations: 3.938 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.6006, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.6006, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.6008, allocations: 39.95 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002763/0.6011, allocations: 248.9 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.6012, allocations: 42.53 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.562e-05/0.6013, allocations: 20.91 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006117/0.6019, allocations: 457.5 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.6019, allocations: 30.56 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.444e-06/0.6019, allocations: 3.984 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003393/0.6023, allocations: 89.58 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.6023, allocations: 51.41 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.651e-05/0.6024, allocations: 93.86 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.6024, allocations: 25.7 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.6024, allocations: 88.08 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.6025, allocations: 11.89 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.6025, allocations: 9.844 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.312e-05/0.6026, allocations: 322.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.989e-05/0.6027, allocations: 11.98 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.026e-05/0.6027, allocations: 15.98 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.6029, allocations: 40.81 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6029, allocations: 11.94 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001853/0.6031, allocations: 65.66 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.6031, allocations: 6.188 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.6031, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.6031, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.589e-05/0.6032, allocations: 8 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.6032, allocations: 0 / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/0.6033, allocations: 11.89 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.6033, allocations: 7.969 kB / 1.022 GB, free: 14.08 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 (2): * Single equations (assignments): 2 * 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.908e-05/0.6034, allocations: 113.8 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.6034, allocations: 4 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.6036, allocations: 72.7 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6036, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6036, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.6036, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.6038, allocations: 169.6 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6038, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.6039, allocations: 11.92 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.6039, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.6039, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.6039, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6039, allocations: 8 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.6041, allocations: 167.4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.6041, allocations: 81.11 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.6042, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.6042, allocations: 7.984 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.6043, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.6043, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.39e-05/0.6043, allocations: 87.27 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6043, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002432/0.6046, allocations: 24.03 kB / 1.022 GB, free: 13.25 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 (2): * Single equations (assignments): 2 * 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.0005139/0.6051, allocations: 0.7085 MB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.6053, allocations: 39.89 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6053, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.416e-05/0.6054, allocations: 19.98 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.6056, allocations: 4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.606, allocations: 135.4 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.6062, allocations: 0.6729 MB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.026e-05/0.6063, allocations: 3.984 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.6063, allocations: 15.44 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6063, allocations: 0 / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.6219, allocations: 1.474 MB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.937/7.559, allocations: 14.02 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.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_Examples_BesselJ0.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches