Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.007135/0.007135, allocations: 103 kB / 15.74 MB, free: 6.496 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.001834/0.001835, allocations: 192.9 kB / 16.68 MB, free: 6.375 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.882/2.882, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 67.91 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2982, allocations: 162.3 MB / 1.242 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002402/0.3007, allocations: 1.436 MB / 1.243 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000481/0.3012, allocations: 231.3 kB / 1.243 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.3012, allocations: 4 kB / 1.243 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.584e-05/0.3013, allocations: 3.984 kB / 1.243 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.245e-05/0.3013, allocations: 7.922 kB / 1.243 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.3016, allocations: 63.02 kB / 1.244 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.599e-05/0.3017, allocations: 19.94 kB / 1.244 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.014e-05/0.3018, allocations: 7.984 kB / 1.244 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.623e-05/0.3018, allocations: 8 kB / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.116e-05/0.3019, allocations: 23.91 kB / 1.244 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.3019, allocations: 0 / 1.244 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.302, allocations: 51.95 kB / 1.244 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.302, allocations: 11.92 kB / 1.244 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.3021, allocations: 7.938 kB / 1.244 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.3022, allocations: 55.8 kB / 1.244 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3022, allocations: 0 / 1.244 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3022, allocations: 0 / 1.244 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.3022, allocations: 0 / 1.244 GB, free: 7.867 MB / 0.9981 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.0004507/0.3027, allocations: 347.4 kB / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3027, allocations: 12.03 kB / 1.244 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.3028, allocations: 38.67 kB / 1.244 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.852e-05/0.3028, allocations: 0.9375 kB / 1.244 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.3029, allocations: 168.3 kB / 1.244 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.3029, allocations: 4.375 kB / 1.244 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.303, allocations: 4.375 kB / 1.244 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.3031, allocations: 50.17 kB / 1.244 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3031, allocations: 3.938 kB / 1.244 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3032, allocations: 8 kB / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3032, allocations: 0 / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.3033, allocations: 35.95 kB / 1.244 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.3036, allocations: 241 kB / 1.245 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.3038, allocations: 38.5 kB / 1.245 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.546e-05/0.3039, allocations: 28.89 kB / 1.245 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006413/0.3045, allocations: 457.4 kB / 1.245 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.3045, allocations: 30.56 kB / 1.245 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3045, allocations: 4 kB / 1.245 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003288/0.3049, allocations: 81.64 kB / 1.245 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.3049, allocations: 51.41 kB / 1.245 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.246e-05/0.305, allocations: 97.84 kB / 1.245 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.305, allocations: 25.7 kB / 1.245 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.3051, allocations: 96.08 kB / 1.245 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.3051, allocations: 8.078 kB / 1.245 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.3051, allocations: 9.719 kB / 1.245 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.3053, allocations: 322.8 kB / 1.246 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/0.3053, allocations: 15.92 kB / 1.246 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.263e-05/0.3054, allocations: 19.92 kB / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.3056, allocations: 40.89 kB / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3056, allocations: 3.938 kB / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001838/0.3058, allocations: 69.61 kB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.3058, allocations: 4 kB / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.3058, allocations: 0 / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.3058, allocations: 0 / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.835e-05/0.3059, allocations: 11.98 kB / 1.246 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.3059, allocations: 0 / 1.246 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.306, allocations: 12.02 kB / 1.246 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.306, allocations: 3.938 kB / 1.246 GB, free: 5.242 MB / 0.9981 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 7.706e-05/0.306, allocations: 117.8 kB / 1.246 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.3061, allocations: 0 / 1.246 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.3063, allocations: 64.78 kB / 1.246 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.3063, allocations: 0 / 1.246 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3063, allocations: 8.031 kB / 1.246 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3063, allocations: 0 / 1.246 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.3065, allocations: 165.5 kB / 1.246 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3065, allocations: 0 / 1.246 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/0.3066, allocations: 7.984 kB / 1.246 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3066, allocations: 0 / 1.246 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3066, allocations: 4 kB / 1.246 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3066, allocations: 0 / 1.246 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3066, allocations: 0 / 1.246 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.3068, allocations: 171.6 kB / 1.246 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.3069, allocations: 85.05 kB / 1.247 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.3069, allocations: 0 / 1.247 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.307, allocations: 7.984 kB / 1.247 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.307, allocations: 8 kB / 1.247 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.307, allocations: 4 kB / 1.247 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.902e-05/0.3071, allocations: 79.31 kB / 1.247 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3071, allocations: 0 / 1.247 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002207/0.3073, allocations: 19.94 kB / 1.247 GB, free: 4.414 MB / 0.9981 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.0005918/0.3079, allocations: 0.7168 MB / 1.247 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002036/0.3081, allocations: 35.95 kB / 1.247 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3081, allocations: 3.938 kB / 1.247 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.993e-05/0.3082, allocations: 19.98 kB / 1.247 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.3084, allocations: 10.47 kB / 1.247 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.3088, allocations: 139 kB / 1.248 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.3091, allocations: 0.6768 MB / 1.248 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.82e-05/0.3091, allocations: 0 / 1.248 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.3091, allocations: 11.44 kB / 1.248 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.3091, allocations: 0 / 1.248 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2/0.5091, allocations: 1.504 MB / 1.25 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.613/9.122, allocations: 9.641 kB / 1.25 GB, free: 1.266 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches