Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_10_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.00519/0.00519, allocations: 106.1 kB / 15.74 MB, free: 6.02 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.001347/0.001347, allocations: 193.5 kB / 16.67 MB, free: 5.934 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.65/2.65, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 75.83 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8249/0.8268, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.00183/0.8287, allocations: 0.5806 MB / 1.167 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005191/0.8293, allocations: 197.2 kB / 1.167 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.498e-05/0.8293, allocations: 0 / 1.167 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.8293, allocations: 0 / 1.167 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.692e-06/0.8293, allocations: 4 kB / 1.167 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.8297, allocations: 63.81 kB / 1.167 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.094e-05/0.8298, allocations: 0 / 1.167 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.8298, allocations: 0 / 1.167 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.415e-05/0.8299, allocations: 0 / 1.167 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.012e-05/0.8299, allocations: 4 kB / 1.167 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.702e-06/0.8299, allocations: 0 / 1.167 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.8301, allocations: 63.86 kB / 1.167 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.8301, allocations: 3.938 kB / 1.167 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.691e-05/0.8301, allocations: 4 kB / 1.167 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.8303, allocations: 35.94 kB / 1.167 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.8303, allocations: 0 / 1.167 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8303, allocations: 0 / 1.167 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.8303, allocations: 0 / 1.167 GB, free: 2.82 MB / 0.8887 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.000365/0.8307, allocations: 327.2 kB / 1.167 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.8307, allocations: 12.92 kB / 1.167 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.887e-05/0.8308, allocations: 30.75 kB / 1.167 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.181e-05/0.8308, allocations: 0.9375 kB / 1.167 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.8309, allocations: 160.4 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-06/0.8309, allocations: 384 / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.831, allocations: 4.375 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.8311, allocations: 38.19 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.8311, allocations: 3.938 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.8311, allocations: 0 / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.8311, allocations: 0 / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.736e-05/0.8311, allocations: 0 / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.8313, allocations: 149.7 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.19e-05/0.8314, allocations: 14.58 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.089e-05/0.8314, allocations: 15.42 kB / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000823/0.8322, allocations: 457.5 kB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.8323, allocations: 34.5 kB / 1.168 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/0.8323, allocations: 4 kB / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001475/0.8324, allocations: 41.58 kB / 1.168 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.8325, allocations: 51.41 kB / 1.168 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.726e-05/0.8325, allocations: 93.86 kB / 1.168 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.8325, allocations: 29.64 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.8326, allocations: 80.14 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.8326, allocations: 0 / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.8326, allocations: 17.66 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.8328, allocations: 315 kB / 1.169 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.178e-06/0.8328, allocations: 4 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-06/0.8328, allocations: 0 / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.877e-05/0.8329, allocations: 16.78 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.8329, allocations: 0 / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.238e-05/0.8329, allocations: 33.7 kB / 1.169 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.8329, allocations: 4 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.8329, allocations: 3.938 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.833, allocations: 8.094 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.089e-05/0.833, allocations: 0 / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.833, allocations: 0 / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.207e-06/0.833, allocations: 0 / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.8331, allocations: 4 kB / 1.169 GB, free: 0.5859 MB / 0.8887 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 8.16e-05/0.8331, allocations: 113.8 kB / 1.169 GB, free: 476 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-06/0.8331, allocations: 0 / 1.169 GB, free: 476 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.989e-05/0.8332, allocations: 40.7 kB / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.8332, allocations: 0 / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.8333, allocations: 4.031 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.8333, allocations: 0 / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.8334, allocations: 149.7 kB / 1.169 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8334, allocations: 4 kB / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.8334, allocations: 0 / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8334, allocations: 0 / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.8334, allocations: 3.938 kB / 1.169 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.8334, allocations: 0 / 1.169 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8334, allocations: 0 / 1.169 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.26e-05/0.8335, allocations: 65.06 kB / 1.169 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.8336, allocations: 81.11 kB / 1.169 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.8336, allocations: 3.938 kB / 1.169 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-06/0.8336, allocations: 0 / 1.169 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.8336, allocations: 7.984 kB / 1.169 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.8336, allocations: 0 / 1.169 GB, free: 16 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 6.645e-05/0.8337, allocations: 79.22 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8337, allocations: 0 / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002087/0.8339, allocations: 15.94 kB / 1.17 GB, free: 15.92 MB / 0.9044 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.0005054/0.8344, allocations: 0.6125 MB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.353e-05/0.8345, allocations: 11.97 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8345, allocations: 0 / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.781e-06/0.8345, allocations: 0 / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.8347, allocations: 7.938 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.835, allocations: 114.5 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.8353, allocations: 0.669 MB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.639e-06/0.8353, allocations: 0 / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.8353, allocations: 11.44 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.8354, allocations: 4.125 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.8587, allocations: 1.144 MB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.864, allocations: 19.11 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches