Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_latest_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.00169/0.00169, 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.001631/0.001631, allocations: 197.2 kB / 16.14 MB, free: 6.734 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.303/1.303, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.528/2.528, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 66.77 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2553, allocations: 157.4 MB / 1.052 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001676/0.257, allocations: 0.6619 MB / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004335/0.2575, allocations: 191.5 kB / 1.053 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.518e-06/0.2575, allocations: 0 / 1.053 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.2575, allocations: 0 / 1.053 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.479e-06/0.2575, allocations: 3.938 kB / 1.053 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.2578, allocations: 39.97 kB / 1.053 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.173e-05/0.2578, allocations: 4 kB / 1.053 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.616e-05/0.2579, allocations: 3.938 kB / 1.053 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.491e-05/0.2579, allocations: 7.984 kB / 1.053 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.695e-05/0.2579, allocations: 0 / 1.053 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.931e-06/0.2579, allocations: 0 / 1.053 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.2581, allocations: 63.88 kB / 1.053 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.653e-06/0.2581, allocations: 3.938 kB / 1.053 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.371e-05/0.2581, allocations: 0 / 1.053 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.96e-05/0.2582, allocations: 27.95 kB / 1.053 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2582, allocations: 11.98 kB / 1.053 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.21e-07/0.2582, allocations: 0 / 1.053 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.2583, allocations: 0 / 1.053 GB, free: 7.211 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002502/0.2585, allocations: 319.6 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2585, allocations: 11.97 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.678e-05/0.2586, allocations: 34.75 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.764e-05/0.2586, allocations: 0.9375 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.001e-05/0.2587, allocations: 164.4 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.2587, allocations: 384 / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-06/0.2587, allocations: 384 / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.939e-05/0.2588, allocations: 42.14 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.2588, allocations: 3.938 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.2588, allocations: 0 / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2588, allocations: 3.938 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.58e-05/0.2588, allocations: 0 / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001196/0.259, allocations: 149.7 kB / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.383e-05/0.259, allocations: 22.59 kB / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.259, allocations: 8.859 kB / 1.054 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006316/0.2597, allocations: 453.5 kB / 1.054 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.2597, allocations: 34.5 kB / 1.054 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.2597, allocations: 0 / 1.054 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001182/0.2598, allocations: 41.62 kB / 1.054 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.2599, allocations: 51.41 kB / 1.054 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.115e-05/0.2599, allocations: 89.86 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.2599, allocations: 29.7 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.252e-05/0.2599, allocations: 80.14 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.26, allocations: 0 / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.26, allocations: 13.72 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.734e-05/0.2601, allocations: 310.8 kB / 1.055 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.2601, allocations: 8.125 kB / 1.055 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-06/0.2601, allocations: 0 / 1.055 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.216e-05/0.2601, allocations: 16.78 kB / 1.055 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2601, allocations: 0 / 1.055 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.431e-05/0.2602, allocations: 29.7 kB / 1.055 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.2602, allocations: 4 kB / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.2602, allocations: 3.938 kB / 1.055 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.266e-06/0.2602, allocations: 0 / 1.055 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.14e-05/0.2603, allocations: 4 kB / 1.055 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.2603, allocations: 4.094 kB / 1.055 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-06/0.2603, allocations: 4 kB / 1.055 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.2603, allocations: 0 / 1.055 GB, free: 4.984 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 (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.207e-05/0.2603, allocations: 109.8 kB / 1.055 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-06/0.2604, allocations: 3.984 kB / 1.055 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.698e-05/0.2604, allocations: 44.7 kB / 1.055 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.2604, allocations: 0 / 1.055 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2604, allocations: 0 / 1.055 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.2605, allocations: 4.031 kB / 1.055 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.094e-05/0.2605, allocations: 149.7 kB / 1.055 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2605, allocations: 0 / 1.055 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-05/0.2605, allocations: 7.938 kB / 1.055 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2606, allocations: 0 / 1.055 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.2606, allocations: 3.938 kB / 1.055 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.2606, allocations: 3.938 kB / 1.055 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2606, allocations: 0 / 1.055 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.949e-05/0.2606, allocations: 65.06 kB / 1.055 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.2607, allocations: 77.11 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.2607, allocations: 3.938 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-06/0.2607, allocations: 4 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.2607, allocations: 0 / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.2607, allocations: 4 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.461e-05/0.2607, allocations: 75.28 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2607, allocations: 0 / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001826/0.2609, allocations: 8 kB / 1.056 GB, free: 4.332 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 (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.0003543/0.2613, allocations: 0.6244 MB / 1.056 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.865e-05/0.2614, allocations: 3.938 kB / 1.056 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2614, allocations: 8.094 kB / 1.056 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.44e-06/0.2614, allocations: 0 / 1.056 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.2615, allocations: 0 / 1.056 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.2617, allocations: 116.3 kB / 1.056 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.2619, allocations: 0.6692 MB / 1.057 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.879e-06/0.2619, allocations: 0 / 1.057 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.116e-05/0.262, allocations: 7.438 kB / 1.057 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.262, allocations: 0 / 1.057 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.2813, allocations: 1.023 MB / 1.058 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/0.2814, allocations: 208.4 kB / 1.058 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/1.772, allocations: 0 / 1.058 GB, free: 1.621 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches