Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_11_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.006076/0.006076, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.001576/0.001576, allocations: 191.9 kB / 16.67 MB, free: 5.48 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.837/2.837, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 72.11 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7614/0.7633, allocations: 159.1 MB / 1.22 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002819/0.7662, allocations: 1.426 MB / 1.222 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005739/0.7668, allocations: 247.2 kB / 1.222 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.45e-05/0.7668, allocations: 0 / 1.222 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.7669, allocations: 0 / 1.222 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.067e-05/0.767, allocations: 7.922 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004354/0.7674, allocations: 63.81 kB / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.892e-05/0.7675, allocations: 19.94 kB / 1.222 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.952e-05/0.7676, allocations: 11.98 kB / 1.222 GB, free: 288 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.597e-05/0.7676, allocations: 7.938 kB / 1.222 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.61e-05/0.7677, allocations: 7.984 kB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.7677, allocations: 7.938 kB / 1.222 GB, free: 264 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.7679, allocations: 55.94 kB / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.7679, allocations: 11.98 kB / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.7679, allocations: 3.938 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.7681, allocations: 54.53 kB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.7681, allocations: 0 / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.272e-05/0.7681, allocations: 0 / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.7681, allocations: 0 / 1.222 GB, free: 140 kB / 0.9356 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.0006006/0.7687, allocations: 352.4 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.7688, allocations: 8.031 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.7688, allocations: 30.75 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.7689, allocations: 12.81 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.7691, allocations: 168.3 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.7691, allocations: 384 / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.7691, allocations: 384 / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.7693, allocations: 58.22 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.7693, allocations: 3.938 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.7694, allocations: 0 / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.7694, allocations: 0 / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.7695, allocations: 35.91 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.7699, allocations: 252.9 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.7701, allocations: 42.5 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.522e-05/0.7702, allocations: 24.89 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007037/0.7709, allocations: 449.5 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.7709, allocations: 38.56 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 2.986e-06/0.7709, allocations: 4 kB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003858/0.7713, allocations: 81.58 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.7714, allocations: 51.41 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.179e-05/0.7715, allocations: 101.8 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.7715, allocations: 25.7 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.7716, allocations: 92.22 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.7716, allocations: 3.953 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.7716, allocations: 13.72 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.7718, allocations: 314.8 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.569e-05/0.7719, allocations: 15.97 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.17e-05/0.7719, allocations: 19.98 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.7721, allocations: 40.83 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.7721, allocations: 3.938 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001981/0.7723, allocations: 65.66 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.7724, allocations: 4 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.7724, allocations: 4 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.7724, allocations: 0 / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.972e-05/0.7725, allocations: 12.02 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.7725, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.708e-05/0.7725, allocations: 7.984 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.7726, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 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 8.198e-05/0.7726, allocations: 117.8 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.7727, allocations: 3.938 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.7729, allocations: 76.72 kB / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7729, allocations: 0 / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.7729, allocations: 0 / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.7729, allocations: 0 / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.7731, allocations: 161.6 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7731, allocations: 0 / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.7732, allocations: 11.94 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7732, allocations: 0 / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.7732, allocations: 3.984 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.7732, allocations: 0 / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7732, allocations: 0 / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.7735, allocations: 175.4 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.7736, allocations: 77.11 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.7736, allocations: 0 / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.7737, allocations: 4 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.7737, allocations: 11.98 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.7737, allocations: 8.031 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.7738, allocations: 79.47 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.7738, allocations: 0 / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002395/0.774, allocations: 15.94 kB / 1.225 GB, free: 12.69 MB / 0.9512 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.0006593/0.7747, allocations: 0.7092 MB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.7749, allocations: 43.89 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.7749, allocations: 0 / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.207e-05/0.775, allocations: 24.08 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.7753, allocations: 1.875 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000446/0.7757, allocations: 142.9 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.7761, allocations: 0.6768 MB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.314e-05/0.7761, allocations: 3.984 kB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.7762, allocations: 15.44 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of SimCode: time 3e-07/0.7762, allocations: 64 / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.7997, allocations: 1.515 MB / 1.228 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.917, allocations: 9.562 kB / 1.228 GB, free: 9.527 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches