Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_11_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.005837/0.005837, allocations: 98.22 kB / 15.73 MB, free: 6.008 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.001482/0.001482, allocations: 198.3 kB / 16.68 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.321/1.321, 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 11.1.0-maint.11.x/package.mo): time 2.489/2.489, allocations: 469.8 MB / 0.7425 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 75.88 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6211/0.6228, allocations: 159.1 MB / 1.22 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001362/0.6242, allocations: 0.5824 MB / 1.221 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004084/0.6246, allocations: 201.2 kB / 1.221 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.261e-05/0.6247, allocations: 0 / 1.221 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.025e-05/0.6247, allocations: 0 / 1.221 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-06/0.6247, allocations: 0 / 1.221 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.625, allocations: 61.94 kB / 1.221 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 3.127e-05/0.6251, allocations: 0 / 1.221 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 2.791e-05/0.6251, allocations: 0 / 1.221 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.025e-05/0.6251, allocations: 4 kB / 1.221 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.738e-05/0.6251, allocations: 0 / 1.221 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.919e-06/0.6251, allocations: 3.938 kB / 1.221 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.6253, allocations: 63.88 kB / 1.221 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.514e-06/0.6253, allocations: 7.984 kB / 1.221 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.12e-05/0.6253, allocations: 0 / 1.221 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.597e-05/0.6254, allocations: 27.95 kB / 1.221 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.6254, allocations: 0 / 1.221 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6254, allocations: 0 / 1.221 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.6254, allocations: 0 / 1.221 GB, free: 1.086 MB / 0.9356 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.0002767/0.6257, allocations: 335.1 kB / 1.221 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.6258, allocations: 8.031 kB / 1.221 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.576e-05/0.6258, allocations: 30.75 kB / 1.221 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.502e-05/0.6258, allocations: 0.9375 kB / 1.221 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.317e-05/0.6259, allocations: 164.4 kB / 1.222 GB, free: 476 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.6259, allocations: 384 / 1.222 GB, free: 476 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.6259, allocations: 4.375 kB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.583e-05/0.626, allocations: 38.12 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.626, allocations: 3.938 kB / 1.222 GB, free: 424 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-06/0.626, allocations: 0 / 1.222 GB, free: 424 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.626, allocations: 3.984 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.581e-05/0.6261, allocations: 4 kB / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.6262, allocations: 149.7 kB / 1.222 GB, free: 216 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.386e-05/0.6262, allocations: 14.58 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.527e-05/0.6263, allocations: 12.89 kB / 1.222 GB, free: 176 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006748/0.6269, allocations: 457.5 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.627, allocations: 34.56 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 5.4e-06/0.627, allocations: 0 / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001038/0.6271, allocations: 41.56 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.6271, allocations: 55.41 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.607e-05/0.6272, allocations: 89.86 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.6272, allocations: 25.7 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.6272, allocations: 84.12 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.6272, allocations: 4.125 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.6273, allocations: 13.72 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6274, allocations: 314.8 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.6274, allocations: 3.938 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-06/0.6274, allocations: 4 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.6274, allocations: 8.859 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.6274, allocations: 0 / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.563e-05/0.6275, allocations: 37.69 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.6275, allocations: 8.094 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6275, allocations: 7.938 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.6275, allocations: 0 / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.734e-05/0.6276, allocations: 0 / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.788e-06/0.6276, allocations: 0 / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.524e-06/0.6276, allocations: 0 / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.6276, allocations: 0 / 1.223 GB, free: 14.84 MB / 0.9512 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.161e-05/0.6277, allocations: 113.8 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-06/0.6277, allocations: 0 / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.376e-05/0.6277, allocations: 44.75 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.6277, allocations: 0 / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.6277, allocations: 0 / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-06/0.6278, allocations: 0 / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.125e-05/0.6278, allocations: 153.7 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.6279, allocations: 0 / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-06/0.6279, allocations: 0 / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.6279, allocations: 0 / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.6279, allocations: 3.938 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.6279, allocations: 3.938 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.6279, allocations: 8.031 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.837e-05/0.628, allocations: 57.08 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.628, allocations: 81.09 kB / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.628, allocations: 3.938 kB / 1.223 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.851e-06/0.628, allocations: 3.938 kB / 1.223 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-06/0.628, allocations: 4 kB / 1.223 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-06/0.628, allocations: 0 / 1.223 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.883e-05/0.6281, allocations: 79.31 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6281, allocations: 0 / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001739/0.6283, allocations: 15.94 kB / 1.224 GB, free: 14.18 MB / 0.9512 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.0003964/0.6287, allocations: 0.6168 MB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 5.124e-05/0.6287, allocations: 4 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.6287, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.649e-06/0.6287, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.6288, allocations: 5.562 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/0.6291, allocations: 118.4 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.6293, allocations: 0.6691 MB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.197e-06/0.6293, allocations: 8 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.438e-05/0.6294, allocations: 11.44 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of SimCode: time 1.91e-07/0.6294, allocations: 0 / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.151/3.78, allocations: 1.144 MB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.11/23.89, allocations: 13 kB / 1.226 GB, free: 11.58 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches