Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1",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.009308/0.009308, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001979/0.001979, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.328/2.328, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001518, allocations: 67.91 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.963/0.9645, allocations: 140.4 MB / 1.088 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001618/0.9662, allocations: 0.5718 MB / 1.088 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004608/0.9667, allocations: 199.7 kB / 1.088 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.715e-05/0.9667, allocations: 1.25 kB / 1.088 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.9667, allocations: 0 / 1.088 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.913e-06/0.9668, allocations: 3.938 kB / 1.088 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.9671, allocations: 52.23 kB / 1.088 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.099e-05/0.9672, allocations: 6.75 kB / 1.088 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.9672, allocations: 5.594 kB / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.232e-05/0.9672, allocations: 0 / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.77e-05/0.9673, allocations: 1.156 kB / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.394e-06/0.9673, allocations: 0 / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.9675, allocations: 62.47 kB / 1.088 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.087e-06/0.9675, allocations: 3.984 kB / 1.088 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.531e-05/0.9675, allocations: 0 / 1.088 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.9676, allocations: 33.06 kB / 1.088 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.9676, allocations: 0 / 1.088 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9676, allocations: 0 / 1.088 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.9676, allocations: 1.375 kB / 1.088 GB, free: 4.656 MB / 0.8575 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.0002415/0.9679, allocations: 323.9 kB / 1.089 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.9679, allocations: 9.656 kB / 1.089 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.239e-05/0.968, allocations: 30.75 kB / 1.089 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.307e-05/0.968, allocations: 2.734 kB / 1.089 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.323e-05/0.9681, allocations: 165.2 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.9681, allocations: 5.312 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.9681, allocations: 384 / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.372e-05/0.9682, allocations: 33.7 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.9682, allocations: 3.938 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.9682, allocations: 5.188 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.9682, allocations: 0 / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.904e-05/0.9682, allocations: 1.094 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.647e-05/0.9683, allocations: 145.1 kB / 1.089 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.289e-05/0.9684, allocations: 25.05 kB / 1.089 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.9684, allocations: 6.781 kB / 1.089 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006589/0.9691, allocations: 465.1 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.9691, allocations: 40.34 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.9691, allocations: 0 / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.000114/0.9692, allocations: 39.64 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.9692, allocations: 53.28 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.484e-05/0.9693, allocations: 93.98 kB / 1.09 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.9693, allocations: 25.7 kB / 1.09 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.07e-05/0.9693, allocations: 81.48 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.9693, allocations: 0.7969 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.9693, allocations: 11.06 kB / 1.09 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.9694, allocations: 316.7 kB / 1.09 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-06/0.9694, allocations: 1.578 kB / 1.09 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-06/0.9694, allocations: 1.062 kB / 1.09 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.662e-05/0.9694, allocations: 16.06 kB / 1.09 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.9695, allocations: 0 / 1.09 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.155e-05/0.9695, allocations: 33.05 kB / 1.09 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.9695, allocations: 4.469 kB / 1.09 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.9695, allocations: 4.938 kB / 1.09 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.9695, allocations: 0.6562 kB / 1.09 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.695e-05/0.9696, allocations: 2.656 kB / 1.09 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.9696, allocations: 0.5625 kB / 1.09 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.458e-06/0.9696, allocations: 0 / 1.09 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.9696, allocations: 5.281 kB / 1.09 GB, free: 2.555 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 4.103e-05/0.9697, allocations: 108.2 kB / 1.09 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-06/0.9697, allocations: 4 kB / 1.09 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.671e-05/0.9697, allocations: 46.83 kB / 1.09 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.9698, allocations: 5.812 kB / 1.09 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.9698, allocations: 0 / 1.09 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.9698, allocations: 0 / 1.09 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.761e-05/0.9698, allocations: 144.5 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9698, allocations: 6.234 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.107e-05/0.9698, allocations: 1.344 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.9699, allocations: 0.7969 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.9699, allocations: 5.375 kB / 1.091 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.9699, allocations: 0 / 1.091 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.9699, allocations: 0 / 1.091 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.658e-05/0.9699, allocations: 61.22 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.97, allocations: 77.77 kB / 1.091 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.97, allocations: 9.75 kB / 1.091 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-06/0.97, allocations: 0 / 1.091 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.97, allocations: 5.766 kB / 1.091 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.97, allocations: 5.188 kB / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.079e-05/0.97, allocations: 75.28 kB / 1.091 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.97, allocations: 0 / 1.091 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000219/0.9703, allocations: 15.61 kB / 1.091 GB, free: 1.934 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.0004523/0.9707, allocations: 0.6137 MB / 1.091 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.187e-05/0.9708, allocations: 11.92 kB / 1.091 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9708, allocations: 0 / 1.091 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.102e-06/0.9708, allocations: 6.781 kB / 1.091 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.971, allocations: 3.797 kB / 1.091 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.9712, allocations: 114.5 kB / 1.092 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.9715, allocations: 0.6707 MB / 1.092 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.135e-05/0.9715, allocations: 1.797 kB / 1.092 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.546e-05/0.9715, allocations: 12.59 kB / 1.092 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.9716, allocations: 0 / 1.092 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.9889, allocations: 1.147 MB / 1.093 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.457/8.446, allocations: 4.969 kB / 1.093 GB, free: 16.11 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_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_BesselJ1.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches