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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.004783/0.004783, allocations: 97.36 kB / 15.73 MB, free: 6.035 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.001161/0.001161, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.787/2.787, allocations: 469.4 MB / 0.7422 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.91 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3019, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002591/0.3046, allocations: 1.434 MB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005001/0.3051, allocations: 235.3 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.3051, allocations: 4 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.3052, allocations: 3.938 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.67e-05/0.3052, allocations: 3.938 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.3056, allocations: 59.81 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.297e-05/0.3057, allocations: 27.86 kB / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.56e-05/0.3058, allocations: 4 kB / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.486e-05/0.3058, allocations: 8 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.19e-05/0.3059, allocations: 19.91 kB / 1.221 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.418e-06/0.3059, allocations: 0 / 1.221 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.306, allocations: 59.89 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.3061, allocations: 3.984 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.3061, allocations: 11.94 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.3062, allocations: 51.86 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3062, allocations: 3.938 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3062, allocations: 0 / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.3063, allocations: 0 / 1.222 GB, free: 12.72 MB / 0.9825 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.0004355/0.3067, allocations: 347.4 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3067, allocations: 12.03 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.487e-05/0.3068, allocations: 34.73 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.3068, allocations: 4.891 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.3069, allocations: 164.3 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.3069, allocations: 4.375 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.307, allocations: 384 / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.3071, allocations: 50.23 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3071, allocations: 7.938 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.3072, allocations: 0 / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3072, allocations: 0 / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.3073, allocations: 35.95 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.3077, allocations: 244.9 kB / 1.222 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.3078, allocations: 42.5 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.69e-05/0.3079, allocations: 24.89 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000664/0.3086, allocations: 449.5 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.3086, allocations: 38.56 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3087, allocations: 0 / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003703/0.309, allocations: 81.58 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.3091, allocations: 51.41 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.3092, allocations: 101.8 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.3092, allocations: 25.7 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.3092, allocations: 100.2 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.3093, allocations: 3.953 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.3093, allocations: 17.72 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3094, allocations: 314.8 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.699e-05/0.3095, allocations: 15.98 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.258e-05/0.3096, allocations: 11.98 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.3098, allocations: 44.89 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.3098, allocations: 7.875 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002047/0.31, allocations: 69.59 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.31, allocations: 4 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.31, allocations: 3.938 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.31, allocations: 0 / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/0.3101, allocations: 16.02 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3101, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.3102, allocations: 7.984 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.3102, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 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 8.656e-05/0.3103, allocations: 114.3 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.3103, allocations: 4 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.3106, allocations: 76.72 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3106, allocations: 0 / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3106, allocations: 4 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3106, allocations: 0 / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.3108, allocations: 161.6 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3108, allocations: 0 / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.3108, allocations: 8.172 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3108, allocations: 0 / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.3108, allocations: 4 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3109, allocations: 3.984 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3109, allocations: 3.984 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.3111, allocations: 171.4 kB / 1.224 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.3112, allocations: 77.11 kB / 1.224 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.3112, allocations: 0 / 1.224 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-05/0.3113, allocations: 7.984 kB / 1.224 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.3113, allocations: 0 / 1.224 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.3113, allocations: 11.97 kB / 1.224 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.566e-05/0.3114, allocations: 79.28 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3114, allocations: 0 / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002467/0.3116, allocations: 19.94 kB / 1.225 GB, free: 9.277 MB / 0.9825 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.0006507/0.3123, allocations: 0.7124 MB / 1.225 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.3125, allocations: 35.95 kB / 1.225 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3125, allocations: 0 / 1.225 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.66e-05/0.3126, allocations: 27.98 kB / 1.225 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.3129, allocations: 4 kB / 1.225 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.3133, allocations: 144.1 kB / 1.225 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.3135, allocations: 0.6806 MB / 1.226 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.233e-05/0.3136, allocations: 3.938 kB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.3136, allocations: 11.44 kB / 1.226 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.3136, allocations: 0 / 1.226 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.3315, allocations: 1.506 MB / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/8.028, allocations: 18.83 kB / 1.228 GB, free: 6.117 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 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.csv","/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