Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_9_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.008121/0.008121, allocations: 102.7 kB / 15.73 MB, free: 6.039 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.001802/0.001802, allocations: 196 kB / 16.67 MB, free: 5.973 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.543/1.543, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.47/2.47, allocations: 390.2 MB / 0.6648 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 76.25 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3392, allocations: 140.4 MB / 1.088 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001917/0.3411, allocations: 0.5793 MB / 1.088 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005433/0.3417, allocations: 191.7 kB / 1.088 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.551e-05/0.3417, allocations: 0 / 1.088 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.3418, allocations: 0 / 1.088 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.584e-06/0.3418, allocations: 0 / 1.088 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.3423, allocations: 55.83 kB / 1.088 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.51e-05/0.3423, allocations: 3.984 kB / 1.088 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.884e-05/0.3424, allocations: 0 / 1.088 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.371e-05/0.3424, allocations: 0 / 1.088 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.463e-05/0.3424, allocations: 4 kB / 1.088 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.943e-06/0.3424, allocations: 7.938 kB / 1.088 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.3426, allocations: 55.89 kB / 1.088 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.3427, allocations: 3.984 kB / 1.088 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.656e-05/0.3427, allocations: 0 / 1.088 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.3428, allocations: 31.95 kB / 1.088 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3428, allocations: 0 / 1.088 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3428, allocations: 0 / 1.088 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.3428, allocations: 0 / 1.088 GB, free: 1.047 MB / 0.8419 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.0003406/0.3432, allocations: 323.6 kB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3433, allocations: 12.03 kB / 1.089 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.3433, allocations: 30.75 kB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.3433, allocations: 0.9375 kB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.3434, allocations: 164.4 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.3435, allocations: 8.312 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-06/0.3435, allocations: 384 / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.3436, allocations: 30.25 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3436, allocations: 3.938 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.3436, allocations: 0 / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3436, allocations: 4 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.3437, allocations: 4 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.3438, allocations: 141.7 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.47e-05/0.3439, allocations: 26.55 kB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.3439, allocations: 4.859 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008592/0.3448, allocations: 457.5 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.3448, allocations: 30.56 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 3.066e-06/0.3448, allocations: 0 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001499/0.345, allocations: 41.58 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.345, allocations: 55.39 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.915e-05/0.3451, allocations: 89.86 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.3451, allocations: 29.64 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.3451, allocations: 84.27 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.3452, allocations: 7.984 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.3452, allocations: 13.66 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3454, allocations: 310.8 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.3454, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-06/0.3454, allocations: 8 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.467e-05/0.3454, allocations: 4.859 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3454, allocations: 64 / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.872e-05/0.3455, allocations: 41.69 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3455, allocations: 4 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3455, allocations: 7.938 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3455, allocations: 0 / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.528e-05/0.3456, allocations: 4 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3456, allocations: 3.938 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.037e-05/0.3456, allocations: 0 / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.3456, allocations: 0 / 1.09 GB, free: 14.81 MB / 0.8575 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.164e-05/0.3457, allocations: 109.9 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.3457, allocations: 4 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.385e-05/0.3458, allocations: 48.66 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3458, allocations: 0 / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3458, allocations: 0 / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3458, allocations: 0 / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.697e-05/0.346, allocations: 141.7 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.346, allocations: 0 / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.346, allocations: 7.984 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.346, allocations: 0 / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.346, allocations: 7.969 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.346, allocations: 0 / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.346, allocations: 0 / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.818e-05/0.3461, allocations: 61.08 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.3461, allocations: 81.09 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.3462, allocations: 3.938 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-06/0.3462, allocations: 3.938 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.3462, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.3462, allocations: 4.031 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.032e-05/0.3463, allocations: 75.28 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3463, allocations: 4 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002169/0.3465, allocations: 8 kB / 1.091 GB, free: 14.16 MB / 0.8575 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.0005115/0.347, allocations: 0.6191 MB / 1.091 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.548e-05/0.3471, allocations: 15.92 kB / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3471, allocations: 0 / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.967e-06/0.3471, allocations: 4 kB / 1.091 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.3473, allocations: 5.547 kB / 1.091 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.3476, allocations: 110.9 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.348, allocations: 0.6768 MB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.324e-05/0.348, allocations: 0 / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.348, allocations: 7.438 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of SimCode: time 4.007e-06/0.348, allocations: 0 / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.3676, allocations: 1.146 MB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/7.935, allocations: 6.172 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches