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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001294/0.001294, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001611/0.001611, allocations: 195.6 kB / 16.14 MB, free: 6.719 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.469/2.469, allocations: 461.8 MB / 0.7342 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 68.14 kB / 0.8985 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2325, allocations: 157.4 MB / 1.052 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002144/0.2347, allocations: 1.498 MB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004482/0.2351, allocations: 255.2 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.797e-05/0.2352, allocations: 0 / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/0.2352, allocations: 4 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.559e-05/0.2352, allocations: 0 / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.2355, allocations: 51.89 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.27e-05/0.2355, allocations: 19.92 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.435e-05/0.2356, allocations: 8 kB / 1.054 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.969e-05/0.2356, allocations: 7.984 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.898e-05/0.2357, allocations: 7.938 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.2357, allocations: 4 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.2358, allocations: 63.88 kB / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.247e-06/0.2358, allocations: 3.984 kB / 1.054 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.2359, allocations: 15.92 kB / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.236, allocations: 55.81 kB / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.236, allocations: 0 / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.41e-07/0.236, allocations: 0 / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.895e-06/0.236, allocations: 0 / 1.054 GB, free: 6.27 MB / 0.8106 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.0003554/0.2364, allocations: 339.8 kB / 1.054 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.2364, allocations: 19.91 kB / 1.054 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.659e-05/0.2364, allocations: 30.75 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.998e-05/0.2365, allocations: 4.844 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.759e-05/0.2366, allocations: 168.4 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.2366, allocations: 8.375 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.2366, allocations: 4.375 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.2367, allocations: 50.22 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.2368, allocations: 3.938 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.2368, allocations: 4 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2368, allocations: 0 / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.2369, allocations: 35.91 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.2372, allocations: 249 kB / 1.055 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.2373, allocations: 38.5 kB / 1.055 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.661e-05/0.2374, allocations: 16.91 kB / 1.055 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005534/0.238, allocations: 461.5 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.238, allocations: 34.5 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.238, allocations: 0 / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002976/0.2383, allocations: 85.73 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.2383, allocations: 51.41 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.973e-05/0.2384, allocations: 93.86 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.2384, allocations: 25.7 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.2384, allocations: 99.97 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.2385, allocations: 0 / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.2385, allocations: 9.719 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.579e-05/0.2386, allocations: 318.8 kB / 1.056 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.2387, allocations: 16.02 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-05/0.2387, allocations: 19.97 kB / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.2389, allocations: 40.77 kB / 1.056 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2389, allocations: 3.938 kB / 1.056 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001768/0.2391, allocations: 73.62 kB / 1.056 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.2391, allocations: 4 kB / 1.056 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.2391, allocations: 0 / 1.056 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.2391, allocations: 0 / 1.056 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.146e-05/0.2392, allocations: 11.98 kB / 1.056 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.2392, allocations: 0 / 1.056 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.12e-05/0.2392, allocations: 4 kB / 1.056 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.2392, allocations: 4 kB / 1.056 GB, free: 3.66 MB / 0.8106 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 5.979e-05/0.2393, allocations: 121.8 kB / 1.056 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.2393, allocations: 4 kB / 1.056 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.2395, allocations: 68.72 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.2395, allocations: 0 / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2395, allocations: 0 / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2396, allocations: 7.938 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.2397, allocations: 161.5 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2397, allocations: 0 / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.328e-05/0.2398, allocations: 12.02 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2398, allocations: 0 / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.2398, allocations: 4 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2398, allocations: 0 / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2398, allocations: 0 / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.24, allocations: 167.4 kB / 1.057 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.24, allocations: 85.05 kB / 1.057 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.2401, allocations: 3.984 kB / 1.057 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.2401, allocations: 4 kB / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.2402, allocations: 7.984 kB / 1.057 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.2402, allocations: 4 kB / 1.057 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.923e-05/0.2402, allocations: 79.45 kB / 1.057 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2402, allocations: 3.938 kB / 1.057 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002143/0.2404, allocations: 20 kB / 1.057 GB, free: 2.824 MB / 0.8106 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.0004919/0.2409, allocations: 0.7085 MB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001717/0.2411, allocations: 39.94 kB / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2411, allocations: 0 / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.773e-05/0.2412, allocations: 23.97 kB / 1.058 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.2414, allocations: 4 kB / 1.058 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.2417, allocations: 141.1 kB / 1.058 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.242, allocations: 0.677 MB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.892e-05/0.242, allocations: 0 / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.242, allocations: 11.44 kB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.242, allocations: 0 / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08992/0.3319, allocations: 1.318 MB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/0.3322, allocations: 187.7 kB / 1.06 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/2.676, allocations: 4 kB / 1.06 GB, free: 15.63 MB / 0.8262 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=50 --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