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.0009549/0.000955, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.005925/0.005925, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.352/1.352, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.675/2.675, allocations: 462.7 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003391, allocations: 11.44 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.281, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001288/0.2823, allocations: 1.163 MB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004473/0.2827, allocations: 247.4 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.552e-05/0.2828, allocations: 0 / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.15e-05/0.2828, allocations: 0 / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.698e-05/0.2828, allocations: 7.922 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.2831, allocations: 43.89 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.317e-05/0.2831, allocations: 27.92 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.06e-05/0.2832, allocations: 4 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.087e-05/0.2832, allocations: 8 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.969e-05/0.2833, allocations: 15.86 kB / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.883e-06/0.2833, allocations: 0 / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.2834, allocations: 67.86 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.294e-06/0.2834, allocations: 0 / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.2835, allocations: 37.64 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.2836, allocations: 51.91 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.2836, allocations: 7.938 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2836, allocations: 0 / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.745e-06/0.2836, allocations: 0 / 1.06 GB, free: 3.188 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.0003487/0.284, allocations: 339.8 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.284, allocations: 11.97 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.965e-05/0.284, allocations: 38.75 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.72e-05/0.2841, allocations: 0.9375 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.782e-05/0.2841, allocations: 164.3 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.443e-06/0.2842, allocations: 4.375 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.2842, allocations: 4.375 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.2843, allocations: 58.17 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.2843, allocations: 3.938 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.2844, allocations: 0 / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2844, allocations: 0 / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.2845, allocations: 47.95 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002418/0.2848, allocations: 241 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.2849, allocations: 62.36 kB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.603e-05/0.285, allocations: 24.91 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005331/0.2856, allocations: 453.5 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.2856, allocations: 34.55 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2856, allocations: 0 / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003332/0.2859, allocations: 97.66 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.286, allocations: 51.41 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.757e-05/0.286, allocations: 105.8 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.286, allocations: 25.7 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.2861, allocations: 84.14 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.2861, allocations: 3.906 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.2861, allocations: 13.84 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.2862, allocations: 318.8 kB / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/0.2863, allocations: 19.98 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.582e-05/0.2864, allocations: 19.98 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.2865, allocations: 52.88 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2866, allocations: 3.938 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001895/0.2868, allocations: 77.67 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.2868, allocations: 4 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2868, allocations: 3.938 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/0.2868, allocations: 3.938 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.2869, allocations: 11.98 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2869, allocations: 0 / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.2869, allocations: 19.92 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.2869, allocations: 0 / 1.063 GB, free: 0.5039 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 6.017e-05/0.287, allocations: 117.8 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.287, allocations: 0 / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.2873, allocations: 84.78 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2873, allocations: 0 / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2873, allocations: 4 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.2873, allocations: 192 / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.2874, allocations: 165.5 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2874, allocations: 0 / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.2875, allocations: 19.91 kB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2875, allocations: 0 / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.2875, allocations: 4 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2875, allocations: 4.031 kB / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2875, allocations: 0 / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.2878, allocations: 167.5 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.2878, allocations: 81.14 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.2878, allocations: 8 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.2879, allocations: 7.984 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.2879, allocations: 3.938 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.2879, allocations: 4 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.985e-05/0.288, allocations: 75.28 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.288, allocations: 0 / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002203/0.2882, allocations: 23.98 kB / 1.063 GB, free: 15.65 MB / 0.8262 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.0005054/0.2887, allocations: 0.724 MB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.2889, allocations: 47.95 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2889, allocations: 4.062 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.645e-05/0.289, allocations: 23.98 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.2892, allocations: 4 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.2896, allocations: 158.2 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.2898, allocations: 0.681 MB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.751e-05/0.2898, allocations: 0 / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.2898, allocations: 7.438 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.2898, allocations: 0 / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.282/2.572, allocations: 1.261 MB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/2.573, allocations: 188.3 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/4.266, allocations: 0 / 1.066 GB, free: 12.51 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