Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_10_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.0009512/0.0009512, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005165/0.005165, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.254/1.254, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.357/2.357, allocations: 437.8 MB / 0.7121 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002792, allocations: 16 kB / 0.873 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5401/0.5404, allocations: 153.8 MB / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0005851/0.541, allocations: 321.5 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004016/0.5414, allocations: 191.4 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.025e-06/0.5415, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.977e-06/0.5415, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.627e-06/0.5415, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.5417, allocations: 39.95 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.576e-05/0.5418, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.014e-05/0.5418, allocations: 3.938 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.073e-05/0.5418, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 1.624e-05/0.5419, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.17e-06/0.5419, allocations: 4 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.542, allocations: 67.88 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.564e-06/0.542, allocations: 3.984 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.5421, allocations: 29.64 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.048e-05/0.5422, allocations: 31.95 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5422, allocations: 4 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5422, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.5422, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.7794 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.0002266/0.5424, allocations: 315.6 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.5425, allocations: 8.031 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.707e-05/0.5425, allocations: 30.75 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.654e-05/0.5425, allocations: 0.9375 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.959e-05/0.5426, allocations: 164.4 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.5426, allocations: 384 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.5426, allocations: 4.375 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.749e-05/0.5427, allocations: 38.2 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.5427, allocations: 3.938 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-06/0.5427, allocations: 3.938 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.5427, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.622e-05/0.5427, allocations: 4 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.5429, allocations: 145.7 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 2.8e-05/0.5429, allocations: 14.58 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.5429, allocations: 16.89 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006102/0.5435, allocations: 453.4 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.5436, allocations: 34.56 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.5436, allocations: 0 / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001056/0.5437, allocations: 41.62 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.5437, allocations: 55.41 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.826e-05/0.5438, allocations: 89.86 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.5438, allocations: 25.7 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.5438, allocations: 80.14 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.5438, allocations: 3.938 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/0.5439, allocations: 13.72 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.544, allocations: 310.8 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-06/0.544, allocations: 4.062 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-06/0.544, allocations: 4 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.029e-05/0.544, allocations: 8.859 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.544, allocations: 0 / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.5e-05/0.5441, allocations: 37.69 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.5441, allocations: 8 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5441, allocations: 3.938 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/0.5441, allocations: 0 / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.796e-05/0.5441, allocations: 0 / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.656e-06/0.5441, allocations: 4.094 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.336e-06/0.5442, allocations: 0 / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.5442, allocations: 4 kB / 1.026 GB, free: 13 MB / 0.7794 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 6.013e-05/0.5442, allocations: 110.3 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-06/0.5442, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.304e-05/0.5443, allocations: 48.75 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.5443, allocations: 0 / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.5443, allocations: 0 / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-06/0.5443, allocations: 0 / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.013e-05/0.5444, allocations: 157.7 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.5444, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.033e-05/0.5444, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.5444, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.5444, allocations: 3.938 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5445, allocations: 4 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5445, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.325e-05/0.5445, allocations: 65 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.5446, allocations: 81.14 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.896e-06/0.5446, allocations: 3.938 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-06/0.5446, allocations: 4 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-06/0.5446, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.5446, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.192e-05/0.5446, allocations: 75.28 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.493e-06/0.5446, allocations: 0 / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001831/0.5448, allocations: 19.94 kB / 1.026 GB, free: 12.33 MB / 0.7794 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.0003588/0.5452, allocations: 0.6224 MB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.446e-05/0.5452, allocations: 4 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.5453, allocations: 4.094 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.821e-06/0.5453, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.5454, allocations: 6.109 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.5456, allocations: 108.3 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.5458, allocations: 0.6731 MB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.396e-06/0.5458, allocations: 0 / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.5458, allocations: 11.44 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.5459, allocations: 0 / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5098/1.056, allocations: 0.9638 MB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/1.056, allocations: 200 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/2.638, allocations: 0 / 1.029 GB, free: 9.719 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches