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.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.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.00126/0.00126, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001301/0.001301, allocations: 194 kB / 16.25 MB, free: 6.152 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.375/1.375, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.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.61/2.61, allocations: 437 MB / 0.7101 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 67.91 kB / 0.8689 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5152/0.5164, allocations: 151.6 MB / 1.017 GB, free: 2.641 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001595/0.518, allocations: 0.649 MB / 1.018 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003667/0.5184, allocations: 191.4 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.095e-06/0.5184, allocations: 0 / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.142e-05/0.5184, allocations: 0 / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.248e-06/0.5184, allocations: 0 / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.5188, allocations: 43.89 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.031e-05/0.5188, allocations: 8 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 2.92e-05/0.5188, allocations: 0 / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.168e-05/0.5188, allocations: 0 / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.2e-05/0.5189, allocations: 0 / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.801e-06/0.5189, allocations: 0 / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.519, allocations: 63.88 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.378e-06/0.519, allocations: 11.92 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.575e-05/0.5191, allocations: 4 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.097e-05/0.5192, allocations: 31.95 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5192, allocations: 0 / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5192, allocations: 0 / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.5192, allocations: 4 kB / 1.018 GB, free: 1.637 MB / 0.7637 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.0002325/0.5194, allocations: 315.6 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.5195, allocations: 8.031 kB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.378e-05/0.5195, allocations: 30.75 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.82e-05/0.5195, allocations: 0.9375 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.426e-05/0.5196, allocations: 168.4 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.031e-06/0.5196, allocations: 4.312 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-06/0.5196, allocations: 4.375 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.075e-05/0.5197, allocations: 30.27 kB / 1.018 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.5197, allocations: 7.938 kB / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.5197, allocations: 0 / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.5197, allocations: 0 / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.97e-05/0.5197, allocations: 4 kB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001033/0.5198, allocations: 149.6 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 2.748e-05/0.5199, allocations: 18.52 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.447e-05/0.5199, allocations: 12.95 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005818/0.5205, allocations: 449.5 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.5205, allocations: 30.56 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.5205, allocations: 3.938 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001039/0.5206, allocations: 45.62 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.5207, allocations: 55.53 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.171e-05/0.5207, allocations: 89.86 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.5207, allocations: 29.64 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 1.809e-05/0.5207, allocations: 80.14 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.5208, allocations: 3.984 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/0.5208, allocations: 17.66 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.251e-05/0.5209, allocations: 310.8 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-06/0.5209, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-06/0.5209, allocations: 7.984 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.121e-05/0.5209, allocations: 12.86 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5209, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.174e-05/0.521, allocations: 29.7 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.521, allocations: 8 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.521, allocations: 7.938 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.521, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.017e-05/0.5211, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5211, allocations: 3.938 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.457e-06/0.5211, allocations: 8.094 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-06/0.5211, allocations: 0 / 1.02 GB, free: 15.4 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 4.877e-05/0.5211, allocations: 110.4 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-06/0.5211, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.177e-05/0.5212, allocations: 40.77 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.5212, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5212, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-06/0.5212, allocations: 4 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.404e-05/0.5213, allocations: 145.7 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.5213, allocations: 4.031 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-06/0.5213, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.5213, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.5213, allocations: 7.938 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.5213, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.5214, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.137e-05/0.5214, allocations: 61.06 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.233e-05/0.5214, allocations: 77.11 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.5215, allocations: 11.97 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-06/0.5215, allocations: 0 / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.5215, allocations: 0 / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.5215, allocations: 0 / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.033e-05/0.5215, allocations: 79.22 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5215, allocations: 0 / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001924/0.5217, allocations: 19.94 kB / 1.02 GB, free: 14.75 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.0003321/0.522, allocations: 0.6185 MB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.086e-05/0.5221, allocations: 4 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5221, allocations: 4 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.752e-06/0.5221, allocations: 8.094 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.5222, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.5225, allocations: 114.5 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.5227, allocations: 0.6768 MB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.716e-06/0.5227, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.33e-05/0.5227, allocations: 7.438 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of SimCode: time 1.342e-06/0.5227, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5038/1.026, allocations: 1.05 MB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/1.027, allocations: 199.6 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/3.056, allocations: 8 kB / 1.023 GB, free: 12.03 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