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.006545/0.006545, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001522/0.001522, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.406/2.406, allocations: 437.1 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 64.14 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7655/0.7678, allocations: 151.6 MB / 1.166 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001413/0.7693, allocations: 0.5767 MB / 1.167 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000379/0.7697, allocations: 189.3 kB / 1.167 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.928e-06/0.7697, allocations: 0 / 1.167 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.025e-05/0.7697, allocations: 0 / 1.167 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.02e-06/0.7697, allocations: 4 kB / 1.167 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.77, allocations: 59.81 kB / 1.167 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 3.06e-05/0.7701, allocations: 0 / 1.167 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 2.89e-05/0.7701, allocations: 0 / 1.167 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.035e-05/0.7701, allocations: 0 / 1.167 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.489e-05/0.7702, allocations: 0 / 1.167 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.581e-06/0.7702, allocations: 4 kB / 1.167 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.7703, allocations: 55.94 kB / 1.167 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.524e-06/0.7703, allocations: 3.984 kB / 1.167 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.17e-05/0.7703, allocations: 0 / 1.167 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.676e-05/0.7704, allocations: 39.83 kB / 1.167 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7705, allocations: 4 kB / 1.167 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.183e-06/0.7705, allocations: 0 / 1.167 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.7705, allocations: 4 kB / 1.167 GB, free: 2.934 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.0002381/0.7707, allocations: 315.6 kB / 1.167 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.7708, allocations: 8.922 kB / 1.167 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.774e-05/0.7708, allocations: 34.73 kB / 1.167 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.7708, allocations: 4.938 kB / 1.167 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.965e-05/0.7709, allocations: 160.4 kB / 1.168 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.7709, allocations: 4.312 kB / 1.168 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-06/0.7709, allocations: 4.375 kB / 1.168 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.579e-05/0.771, allocations: 30.27 kB / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.771, allocations: 3.938 kB / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.771, allocations: 4 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-06/0.771, allocations: 0 / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.64e-05/0.771, allocations: 3.938 kB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.7712, allocations: 149.7 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.657e-05/0.7712, allocations: 22.61 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.7712, allocations: 16.84 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005946/0.7718, allocations: 449.5 kB / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.7718, allocations: 34.55 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.7719, allocations: 0 / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001034/0.772, allocations: 45.58 kB / 1.168 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.772, allocations: 51.41 kB / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.35e-05/0.772, allocations: 89.86 kB / 1.168 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.7721, allocations: 25.7 kB / 1.168 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.224e-05/0.7721, allocations: 82.61 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.7721, allocations: 11.89 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.7721, allocations: 9.719 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.593e-05/0.7722, allocations: 311 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.826e-06/0.7722, allocations: 7.984 kB / 1.169 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.65e-06/0.7723, allocations: 4 kB / 1.169 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.013e-05/0.7723, allocations: 12.8 kB / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7723, allocations: 4 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.413e-05/0.7723, allocations: 33.64 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.7724, allocations: 4 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.7724, allocations: 3.938 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.7724, allocations: 0 / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.132e-05/0.7724, allocations: 8.094 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.257e-06/0.7724, allocations: 0 / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.436e-06/0.7724, allocations: 0 / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.7724, allocations: 3.984 kB / 1.169 GB, free: 0.6953 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 5.598e-05/0.7725, allocations: 105.8 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-06/0.7725, allocations: 4 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.38e-05/0.7726, allocations: 44.7 kB / 1.169 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.7726, allocations: 0 / 1.169 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.7726, allocations: 4.031 kB / 1.169 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.7726, allocations: 0 / 1.169 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.352e-05/0.7727, allocations: 145.7 kB / 1.169 GB, free: 336 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7727, allocations: 0 / 1.169 GB, free: 336 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.184e-05/0.7727, allocations: 4 kB / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.7727, allocations: 3.938 kB / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.7727, allocations: 3.938 kB / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.7727, allocations: 0 / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.7727, allocations: 0 / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.536e-05/0.7728, allocations: 65.12 kB / 1.169 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.7728, allocations: 77.11 kB / 1.169 GB, free: 144 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-06/0.7728, allocations: 3.938 kB / 1.169 GB, free: 140 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.418e-05/0.7729, allocations: 4 kB / 1.169 GB, free: 136 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-06/0.7729, allocations: 0 / 1.169 GB, free: 136 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-06/0.7729, allocations: 3.938 kB / 1.169 GB, free: 132 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.256e-05/0.7729, allocations: 79.28 kB / 1.169 GB, free: 52 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7729, allocations: 0 / 1.169 GB, free: 52 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001931/0.7731, allocations: 8 kB / 1.169 GB, free: 44 kB / 0.8887 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.0003633/0.7735, allocations: 0.6225 MB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 4.888e-05/0.7735, allocations: 4.031 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7735, allocations: 4 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.088e-06/0.7736, allocations: 11.88 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.7737, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002348/0.7739, allocations: 117.5 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.7741, allocations: 0.669 MB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.125e-06/0.7741, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.192e-05/0.7742, allocations: 7.438 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.7742, allocations: 4.125 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.684/2.458, allocations: 1.144 MB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/10.59, allocations: 21.84 kB / 1.172 GB, free: 13.44 MB / 0.9044 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