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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004221/0.004221, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001206/0.001206, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.715/2.715, allocations: 482.4 MB / 0.7548 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 66.33 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2733, allocations: 162.2 MB / 1.241 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001627/0.275, allocations: 0.5827 MB / 1.242 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004514/0.2755, allocations: 199.6 kB / 1.242 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.098e-05/0.2755, allocations: 0 / 1.242 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.308e-05/0.2755, allocations: 0 / 1.242 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-06/0.2755, allocations: 0 / 1.242 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.2759, allocations: 63.8 kB / 1.242 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 2.953e-05/0.2759, allocations: 4 kB / 1.242 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.239e-05/0.2759, allocations: 0 / 1.242 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.075e-05/0.276, allocations: 0 / 1.242 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.796e-05/0.276, allocations: 3.984 kB / 1.242 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.614e-06/0.276, allocations: 4 kB / 1.242 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.2762, allocations: 59.88 kB / 1.242 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.452e-06/0.2762, allocations: 0 / 1.242 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.285e-05/0.2762, allocations: 0 / 1.242 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.2763, allocations: 48.09 kB / 1.242 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2763, allocations: 0 / 1.242 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2763, allocations: 0 / 1.242 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.2763, allocations: 4 kB / 1.242 GB, free: 8.262 MB / 0.9669 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.0003005/0.2767, allocations: 319.5 kB / 1.243 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2767, allocations: 12.03 kB / 1.243 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.2767, allocations: 34.75 kB / 1.243 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.138e-05/0.2768, allocations: 0.9375 kB / 1.243 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.2769, allocations: 164.3 kB / 1.243 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.2769, allocations: 384 / 1.243 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.2769, allocations: 4.359 kB / 1.243 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.211e-05/0.277, allocations: 30.27 kB / 1.243 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.277, allocations: 7.938 kB / 1.243 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.277, allocations: 0 / 1.243 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.277, allocations: 0 / 1.243 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.58e-05/0.277, allocations: 0 / 1.243 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.2772, allocations: 149.7 kB / 1.243 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.082e-05/0.2772, allocations: 18.52 kB / 1.243 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.2773, allocations: 8.844 kB / 1.243 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007914/0.2781, allocations: 461.6 kB / 1.244 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.2781, allocations: 30.56 kB / 1.244 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.2781, allocations: 0 / 1.244 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001254/0.2782, allocations: 41.58 kB / 1.244 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.2783, allocations: 55.53 kB / 1.244 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.645e-05/0.2783, allocations: 89.86 kB / 1.244 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.2784, allocations: 29.64 kB / 1.244 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/0.2784, allocations: 80.14 kB / 1.244 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.2784, allocations: 8 kB / 1.244 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.2785, allocations: 13.66 kB / 1.244 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2786, allocations: 310.8 kB / 1.244 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.2786, allocations: 4 kB / 1.244 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.608e-06/0.2786, allocations: 7.984 kB / 1.244 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.309e-05/0.2787, allocations: 4.859 kB / 1.244 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2787, allocations: 4 kB / 1.244 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.415e-05/0.2787, allocations: 33.7 kB / 1.244 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.2787, allocations: 7.938 kB / 1.244 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.2788, allocations: 3.938 kB / 1.244 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.2788, allocations: 0 / 1.244 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.734e-05/0.2788, allocations: 7.938 kB / 1.244 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.2788, allocations: 0 / 1.244 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.021e-05/0.2788, allocations: 4.094 kB / 1.244 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.2788, allocations: 0 / 1.244 GB, free: 6.027 MB / 0.9669 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 7.482e-05/0.2789, allocations: 110.4 kB / 1.244 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-06/0.2789, allocations: 4 kB / 1.244 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.96e-05/0.279, allocations: 36.77 kB / 1.244 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.279, allocations: 0 / 1.244 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.279, allocations: 0 / 1.244 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.279, allocations: 0 / 1.244 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.2791, allocations: 149.7 kB / 1.245 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2792, allocations: 4.031 kB / 1.245 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/0.2792, allocations: 8 kB / 1.245 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2792, allocations: 0 / 1.245 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.2792, allocations: 3.938 kB / 1.245 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2792, allocations: 0 / 1.245 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2792, allocations: 3.938 kB / 1.245 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.258e-05/0.2793, allocations: 61.12 kB / 1.245 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.2793, allocations: 81.14 kB / 1.245 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.2794, allocations: 3.938 kB / 1.245 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-06/0.2794, allocations: 0 / 1.245 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-06/0.2794, allocations: 0 / 1.245 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.2794, allocations: 0 / 1.245 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.023e-05/0.2794, allocations: 79.28 kB / 1.245 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2794, allocations: 0 / 1.245 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001976/0.2796, allocations: 11.94 kB / 1.245 GB, free: 5.383 MB / 0.9669 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.0004643/0.2801, allocations: 0.624 MB / 1.245 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.094e-05/0.2802, allocations: 0 / 1.245 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2802, allocations: 96 / 1.245 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.312e-06/0.2802, allocations: 8 kB / 1.245 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.2803, allocations: 3.938 kB / 1.245 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.2806, allocations: 114.5 kB / 1.246 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.2809, allocations: 0.6729 MB / 1.246 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.728e-06/0.2809, allocations: 3.938 kB / 1.246 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.397e-05/0.2809, allocations: 7.438 kB / 1.246 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.2809, allocations: 0 / 1.246 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.3016, allocations: 1.156 MB / 1.247 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.386/7.687, allocations: 10.33 kB / 1.247 GB, free: 2.781 MB / 0.9669 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 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.csv","/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