Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BesselJ0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_9_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.007166/0.007166, allocations: 101.9 kB / 15.73 MB, free: 6.469 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.001983/0.001983, allocations: 193.8 kB / 16.67 MB, free: 6.379 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.41/2.41, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 71.75 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2948, allocations: 140.4 MB / 1.087 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002807/0.2976, allocations: 1.42 MB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005639/0.2982, allocations: 248.1 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.447e-05/0.2983, allocations: 4 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.2984, allocations: 0 / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.445e-05/0.2984, allocations: 3.938 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.2988, allocations: 59.83 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.122e-05/0.2989, allocations: 19.92 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.299, allocations: 11.98 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.49e-05/0.2991, allocations: 3.984 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.2991, allocations: 11.94 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.2991, allocations: 4 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.2993, allocations: 59.94 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.2993, allocations: 4 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.2993, allocations: 11.92 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.2995, allocations: 55.8 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2995, allocations: 4 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2995, allocations: 0 / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.2995, allocations: 0 / 1.089 GB, free: 12 kB / 0.8419 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.0004973/0.3, allocations: 334.4 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3001, allocations: 12.03 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.3001, allocations: 38.75 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.3001, allocations: 8.844 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.3002, allocations: 172.3 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3003, allocations: 384 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.3003, allocations: 384 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.3005, allocations: 46.25 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3005, allocations: 3.938 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3005, allocations: 3.984 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3005, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.3007, allocations: 39.91 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.301, allocations: 245 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3012, allocations: 38.5 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.41e-05/0.3012, allocations: 24.91 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007144/0.302, allocations: 457.4 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.302, allocations: 30.56 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.302, allocations: 3.938 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000355/0.3024, allocations: 89.55 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.3024, allocations: 51.41 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.161e-05/0.3025, allocations: 101.9 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.3025, allocations: 25.7 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.3026, allocations: 88.06 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.3026, allocations: 8.75 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.3026, allocations: 13.72 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.3027, allocations: 315 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.249e-05/0.3028, allocations: 15.98 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.691e-05/0.3029, allocations: 19.97 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.3031, allocations: 36.77 kB / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.3031, allocations: 4 kB / 1.091 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001974/0.3033, allocations: 73.66 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3033, allocations: 5.562 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3033, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3033, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.356e-05/0.3034, allocations: 7.984 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3034, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.3035, allocations: 7.938 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.3035, allocations: 4.031 kB / 1.092 GB, free: 13.41 MB / 0.8575 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.651e-05/0.3036, allocations: 113.8 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.3036, allocations: 3.984 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.3038, allocations: 76.72 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3039, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3039, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3039, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.304, allocations: 161.6 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.304, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.3041, allocations: 16.11 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3041, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3041, allocations: 4 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3041, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3041, allocations: 3.984 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.3044, allocations: 171.4 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.3044, allocations: 81.02 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.3044, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.3045, allocations: 7.984 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.3046, allocations: 4 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3046, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.3046, allocations: 87.27 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3046, allocations: 3.938 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002319/0.3049, allocations: 20.03 kB / 1.092 GB, free: 12.57 MB / 0.8575 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.0005771/0.3054, allocations: 0.7138 MB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.3057, allocations: 39.91 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3057, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.3058, allocations: 15.98 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.306, allocations: 7.984 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/0.3065, allocations: 143.4 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.3068, allocations: 0.6768 MB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.463e-05/0.3068, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.5e-05/0.3069, allocations: 7.438 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3069, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.3251, allocations: 1.517 MB / 1.095 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.448/7.773, allocations: 16.16 kB / 1.095 GB, free: 9.41 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches