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.001792/0.001792, 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.002376/0.002376, allocations: 194.6 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.331/1.331, 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 9.1.3-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.3 MB / 0.6647 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 68.12 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.723/0.7246, allocations: 140.4 MB / 0.9497 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.00198/0.7266, allocations: 0.5781 MB / 0.9503 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004694/0.7271, allocations: 178 kB / 0.9505 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.168e-05/0.7271, allocations: 0 / 0.9505 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.7272, allocations: 0 / 0.9505 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.447e-06/0.7272, allocations: 3.938 kB / 0.9505 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.7276, allocations: 57.88 kB / 0.9505 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.793e-05/0.7277, allocations: 1.375 kB / 0.9505 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.7277, allocations: 1.375 kB / 0.9505 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.71e-05/0.7277, allocations: 0 / 0.9505 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.989e-05/0.7278, allocations: 1.375 kB / 0.9505 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.7278, allocations: 3.938 kB / 0.9505 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.728, allocations: 60.67 kB / 0.9506 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.155e-06/0.728, allocations: 5.312 kB / 0.9506 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.708e-05/0.728, allocations: 0 / 0.9506 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.7281, allocations: 36.31 kB / 0.9506 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.7281, allocations: 0 / 0.9506 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.525e-06/0.7281, allocations: 5.375 kB / 0.9506 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.7282, allocations: 0 / 0.9506 GB, free: 8.641 MB / 0.7169 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.0002656/0.7284, allocations: 318.6 kB / 0.9509 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.7285, allocations: 17.55 kB / 0.951 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.236e-05/0.7285, allocations: 30.75 kB / 0.951 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.7285, allocations: 2.312 kB / 0.951 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.279e-05/0.7286, allocations: 160.4 kB / 0.9511 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.7286, allocations: 384 / 0.9511 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.7286, allocations: 5.688 kB / 0.9511 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.312e-05/0.7287, allocations: 31.64 kB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.7287, allocations: 3.938 kB / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.7287, allocations: 0 / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.7287, allocations: 1.375 kB / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.475e-05/0.7288, allocations: 1.375 kB / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.7289, allocations: 151 kB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.894e-05/0.7289, allocations: 19.89 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.729, allocations: 10.23 kB / 0.9514 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006713/0.7296, allocations: 456.1 kB / 0.9518 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.7297, allocations: 30.56 kB / 0.9518 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.7297, allocations: 0 / 0.9518 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001387/0.7298, allocations: 43.17 kB / 0.9519 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.7299, allocations: 51.41 kB / 0.9519 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.636e-05/0.7299, allocations: 89.86 kB / 0.952 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.7299, allocations: 31.02 kB / 0.952 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.508e-06/0.7299, allocations: 80.14 kB / 0.9521 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.73, allocations: 9.281 kB / 0.9521 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.73, allocations: 15.38 kB / 0.9521 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.73, allocations: 314.8 kB / 0.9524 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.7301, allocations: 5.562 kB / 0.9524 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-06/0.7301, allocations: 1.719 kB / 0.9524 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.465e-05/0.7301, allocations: 6.234 kB / 0.9524 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7301, allocations: 0 / 0.9524 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.728e-05/0.7302, allocations: 39.36 kB / 0.9525 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.7302, allocations: 5.594 kB / 0.9525 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.7302, allocations: 3.938 kB / 0.9525 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.7302, allocations: 0 / 0.9525 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.269e-05/0.7302, allocations: 2.719 kB / 0.9525 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.7303, allocations: 8.078 kB / 0.9525 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.051e-05/0.7303, allocations: 0 / 0.9525 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.7303, allocations: 1.5 kB / 0.9525 GB, free: 6.504 MB / 0.7169 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.676e-05/0.7303, allocations: 105.8 kB / 0.9526 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.7304, allocations: 0.9062 kB / 0.9526 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.997e-05/0.7305, allocations: 36.83 kB / 0.9526 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7305, allocations: 1.031 kB / 0.9526 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.7305, allocations: 0 / 0.9526 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.7305, allocations: 8.734 kB / 0.9526 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.671e-05/0.7306, allocations: 146.2 kB / 0.9528 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7306, allocations: 4.75 kB / 0.9528 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.391e-05/0.7306, allocations: 5.562 kB / 0.9528 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7306, allocations: 1.531 kB / 0.9528 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.7306, allocations: 7.875 kB / 0.9528 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.7306, allocations: 0 / 0.9528 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7306, allocations: 0 / 0.9528 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.473e-05/0.7307, allocations: 67.55 kB / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.7307, allocations: 77.11 kB / 0.9529 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.7308, allocations: 5.062 kB / 0.9529 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-06/0.7308, allocations: 0 / 0.9529 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-06/0.7308, allocations: 1.312 kB / 0.9529 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.7308, allocations: 0 / 0.9529 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.372e-05/0.7308, allocations: 80.62 kB / 0.953 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7308, allocations: 0 / 0.953 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002339/0.731, allocations: 19.14 kB / 0.953 GB, free: 5.875 MB / 0.7169 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.000329/0.7314, allocations: 0.6147 MB / 0.9536 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.591e-05/0.7315, allocations: 4.094 kB / 0.9536 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.7315, allocations: 4.094 kB / 0.9536 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.832e-06/0.7315, allocations: 2.344 kB / 0.9536 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.7316, allocations: 1.125 kB / 0.9537 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.7319, allocations: 119.1 kB / 0.9538 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.7321, allocations: 0.6738 MB / 0.9544 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.37e-05/0.7321, allocations: 1.094 kB / 0.9544 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.49e-05/0.7321, allocations: 7.438 kB / 0.9544 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.7321, allocations: 0 / 0.9544 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.7521, allocations: 1.121 MB / 0.9555 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.097/7.85, allocations: 7.828 kB / 0.9555 GB, free: 3.742 MB / 0.7169 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