Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1",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.000804/0.000804, allocations: 91.38 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.005902/0.005902, allocations: 173 kB / 16.26 MB, free: 6.613 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.448/2.448, allocations: 443.4 MB / 0.7176 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.000357, allocations: 12.41 kB / 0.8797 GB, free: 41.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2382, allocations: 155.2 MB / 1.031 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0005958/0.2388, allocations: 316.3 kB / 1.032 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004197/0.2392, allocations: 207.3 kB / 1.032 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-06/0.2393, allocations: 4 kB / 1.032 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.696e-06/0.2393, allocations: 0 / 1.032 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.077e-06/0.2393, allocations: 0 / 1.032 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.2396, allocations: 39.91 kB / 1.032 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 2.79e-05/0.2396, allocations: 7.984 kB / 1.032 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.228e-05/0.2396, allocations: 0 / 1.032 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.115e-05/0.2397, allocations: 0 / 1.032 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 1.631e-05/0.2397, allocations: 0 / 1.032 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.52e-06/0.2397, allocations: 0 / 1.032 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.2398, allocations: 71.86 kB / 1.032 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.281e-06/0.2399, allocations: 4 kB / 1.032 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.2399, allocations: 29.64 kB / 1.032 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.619e-05/0.24, allocations: 39.88 kB / 1.032 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.24, allocations: 0 / 1.032 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.383e-06/0.24, allocations: 3.938 kB / 1.032 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.24, allocations: 0 / 1.032 GB, free: 3.402 MB / 0.7794 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.0002246/0.2402, allocations: 319.5 kB / 1.032 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.2403, allocations: 12.03 kB / 1.032 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.054e-05/0.2403, allocations: 30.75 kB / 1.032 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.92e-05/0.2404, allocations: 4.922 kB / 1.032 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.117e-05/0.2404, allocations: 164.4 kB / 1.032 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.2404, allocations: 384 / 1.032 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-06/0.2405, allocations: 384 / 1.032 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.386e-05/0.2405, allocations: 30.27 kB / 1.032 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.2405, allocations: 3.938 kB / 1.032 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.2406, allocations: 0 / 1.032 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2406, allocations: 3.938 kB / 1.032 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.573e-05/0.2406, allocations: 0 / 1.032 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001095/0.2407, allocations: 153.7 kB / 1.033 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.239e-05/0.2407, allocations: 19.14 kB / 1.033 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.25e-05/0.2408, allocations: 4.953 kB / 1.033 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006368/0.2414, allocations: 461.5 kB / 1.033 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.2414, allocations: 34.56 kB / 1.033 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.2414, allocations: 0 / 1.033 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001001/0.2415, allocations: 41.58 kB / 1.033 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.2416, allocations: 51.41 kB / 1.033 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.021e-05/0.2416, allocations: 89.86 kB / 1.033 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.2416, allocations: 29.7 kB / 1.033 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.735e-05/0.2417, allocations: 80.14 kB / 1.033 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.2417, allocations: 3.938 kB / 1.033 GB, free: 1.594 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/0.2417, allocations: 13.84 kB / 1.033 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.678e-05/0.2418, allocations: 314.8 kB / 1.034 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.2418, allocations: 4 kB / 1.034 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-06/0.2418, allocations: 0 / 1.034 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.109e-05/0.2419, allocations: 12.8 kB / 1.034 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2419, allocations: 0 / 1.034 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.669e-05/0.2419, allocations: 41.69 kB / 1.034 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.2419, allocations: 5.719 kB / 1.034 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.2419, allocations: 8.031 kB / 1.034 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.555e-06/0.2419, allocations: 0 / 1.034 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.175e-05/0.242, allocations: 7.984 kB / 1.034 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.242, allocations: 0 / 1.034 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.306e-06/0.242, allocations: 0 / 1.034 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.242, allocations: 3.984 kB / 1.034 GB, free: 1.168 MB / 0.7794 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.659e-05/0.2421, allocations: 114.1 kB / 1.034 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-06/0.2421, allocations: 0 / 1.034 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.299e-05/0.2422, allocations: 48.64 kB / 1.034 GB, free: 0.9883 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.2422, allocations: 0 / 1.034 GB, free: 0.9883 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2422, allocations: 3.984 kB / 1.034 GB, free: 0.9844 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.2422, allocations: 0 / 1.034 GB, free: 0.9844 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.229e-05/0.2423, allocations: 149.6 kB / 1.034 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2423, allocations: 0 / 1.034 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.137e-05/0.2423, allocations: 4 kB / 1.034 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.2423, allocations: 0 / 1.034 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.2423, allocations: 3.938 kB / 1.034 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2423, allocations: 0 / 1.034 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2423, allocations: 0 / 1.034 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.638e-05/0.2424, allocations: 69.16 kB / 1.034 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.2424, allocations: 81.05 kB / 1.034 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-06/0.2424, allocations: 3.938 kB / 1.034 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-06/0.2424, allocations: 0 / 1.034 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-06/0.2424, allocations: 0 / 1.034 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.2424, allocations: 4 kB / 1.034 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 1.986e-05/0.2425, allocations: 75.28 kB / 1.034 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.383e-06/0.2425, allocations: 4.031 kB / 1.034 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001823/0.2427, allocations: 15.92 kB / 1.034 GB, free: 0.4961 MB / 0.7794 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.0003571/0.243, allocations: 0.6125 MB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 4.63e-05/0.2431, allocations: 7.938 kB / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2431, allocations: 0 / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.683e-06/0.2431, allocations: 4 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.2432, allocations: 1.547 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.2434, allocations: 109 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.2436, allocations: 0.6731 MB / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 8.536e-06/0.2436, allocations: 4.125 kB / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.171e-05/0.2437, allocations: 7.438 kB / 1.036 GB, free: 14.99 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.2437, allocations: 0 / 1.036 GB, free: 14.99 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.2597, allocations: 0.9664 MB / 1.037 GB, free: 14.14 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002526/0.26, allocations: 201.8 kB / 1.037 GB, free: 13.89 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/1.811, allocations: 4 kB / 1.037 GB, free: 13.89 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches