Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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.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.Examples.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_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.001394/0.001394, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001498/0.001498, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.51/2.51, allocations: 437 MB / 0.71 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 59.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5886/0.59, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002541/0.5926, allocations: 1.5 MB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005227/0.5932, allocations: 260 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.356e-05/0.5932, allocations: 0 / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.5932, allocations: 0 / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.736e-05/0.5933, allocations: 3.938 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.5936, allocations: 55.89 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.769e-05/0.5936, allocations: 19.94 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.85e-05/0.5937, allocations: 11.98 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.196e-05/0.5938, allocations: 3.984 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.473e-05/0.5938, allocations: 15.92 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.5938, allocations: 0 / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.594, allocations: 67.88 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.257e-06/0.594, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.594, allocations: 11.94 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.5942, allocations: 51.84 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5942, allocations: 4 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5942, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.5942, allocations: 3.938 kB / 1.019 GB, free: 0.7578 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003925/0.5946, allocations: 345.8 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.5946, allocations: 12.03 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.5947, allocations: 34.75 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.5947, allocations: 4.844 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.904e-05/0.5948, allocations: 160.4 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-06/0.5948, allocations: 8.375 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.5948, allocations: 384 / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.595, allocations: 54.17 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.595, allocations: 3.938 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.595, allocations: 0 / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.595, allocations: 0 / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.5952, allocations: 39.94 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.5955, allocations: 252.8 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.5956, allocations: 42.53 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.605e-05/0.5957, allocations: 24.84 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006586/0.5964, allocations: 461.5 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.5964, allocations: 30.56 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.5964, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003324/0.5968, allocations: 81.73 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.5968, allocations: 55.44 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.5969, allocations: 97.86 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.5969, allocations: 25.7 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.596e-05/0.5969, allocations: 84.12 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.597, allocations: 7.906 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.597, allocations: 13.72 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.391e-05/0.5971, allocations: 318.8 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.568e-05/0.5972, allocations: 19.98 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-05/0.5973, allocations: 15.97 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.5974, allocations: 36.83 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5974, allocations: 3.938 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001956/0.5976, allocations: 73.62 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.5977, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.5977, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.5977, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.332e-05/0.5978, allocations: 19.92 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.5978, allocations: 3.938 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.663e-05/0.5978, allocations: 8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.5979, allocations: 0 / 1.021 GB, free: 14.14 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 (2): * Single equations (assignments): 2 * 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.896e-05/0.5979, allocations: 118.3 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.598, allocations: 4 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.5982, allocations: 68.78 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5982, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5982, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.5982, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.5984, allocations: 165.6 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.5984, allocations: 0 / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.5984, allocations: 12.02 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5984, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.5985, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.5985, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5985, allocations: 7.938 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.5987, allocations: 159.5 kB / 1.021 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.5987, allocations: 85.14 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.5988, allocations: 3.984 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.5988, allocations: 7.938 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.5989, allocations: 3.984 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.5989, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.215e-05/0.5989, allocations: 79.28 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5989, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002439/0.5992, allocations: 27.91 kB / 1.022 GB, free: 13.31 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 (2): * Single equations (assignments): 2 * 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.0005237/0.5997, allocations: 0.7124 MB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.5999, allocations: 36 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5999, allocations: 0 / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.601e-05/0.6, allocations: 19.97 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.6002, allocations: 9.562 kB / 1.022 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/0.6006, allocations: 145.2 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.6008, allocations: 0.677 MB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.144e-05/0.6009, allocations: 0 / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.6009, allocations: 7.438 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6009, allocations: 0 / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0104/0.6113, allocations: 1.312 MB / 1.024 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/0.6115, allocations: 198.3 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.229, allocations: 4 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches