Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.007274/0.007274, allocations: 96.69 kB / 15.73 MB, free: 6.047 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.001788/0.001789, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.701/2.701, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 63.89 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2934, allocations: 162.3 MB / 1.242 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002372/0.2958, allocations: 1.443 MB / 1.243 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004768/0.2962, allocations: 247.3 kB / 1.244 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.2963, allocations: 0 / 1.244 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.2963, allocations: 7.875 kB / 1.244 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.506e-05/0.2964, allocations: 0 / 1.244 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.2967, allocations: 59.81 kB / 1.244 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.27e-05/0.2967, allocations: 23.92 kB / 1.244 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.223e-05/0.2968, allocations: 8 kB / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.55e-05/0.2969, allocations: 11.98 kB / 1.244 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.355e-05/0.2969, allocations: 11.91 kB / 1.244 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.2969, allocations: 4 kB / 1.244 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.297, allocations: 59.89 kB / 1.244 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.2971, allocations: 7.984 kB / 1.244 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.2971, allocations: 11.94 kB / 1.244 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.2972, allocations: 55.8 kB / 1.244 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2972, allocations: 0 / 1.244 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2972, allocations: 0 / 1.244 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.2972, allocations: 4 kB / 1.244 GB, free: 7.852 MB / 0.9981 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.0004072/0.2977, allocations: 343.4 kB / 1.244 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2977, allocations: 8.031 kB / 1.244 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.2977, allocations: 38.73 kB / 1.244 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.912e-05/0.2978, allocations: 0.9375 kB / 1.244 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2979, allocations: 164.3 kB / 1.244 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.2979, allocations: 4.312 kB / 1.244 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-06/0.2979, allocations: 8.375 kB / 1.244 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.2981, allocations: 50.23 kB / 1.244 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.2981, allocations: 3.938 kB / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.2981, allocations: 4 kB / 1.244 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2981, allocations: 3.938 kB / 1.244 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.2983, allocations: 35.95 kB / 1.244 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.2986, allocations: 241 kB / 1.245 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.2987, allocations: 50.44 kB / 1.245 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.518e-05/0.2988, allocations: 20.89 kB / 1.245 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006461/0.2994, allocations: 461.5 kB / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.2995, allocations: 34.56 kB / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 2.745e-06/0.2995, allocations: 3.984 kB / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003244/0.2998, allocations: 77.64 kB / 1.245 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.2999, allocations: 59.34 kB / 1.245 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.791e-05/0.2999, allocations: 97.98 kB / 1.245 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.3, allocations: 29.7 kB / 1.245 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.3, allocations: 84.08 kB / 1.246 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.3, allocations: 3.953 kB / 1.246 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.3001, allocations: 17.7 kB / 1.246 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3002, allocations: 318.8 kB / 1.246 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.3003, allocations: 15.98 kB / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.223e-05/0.3004, allocations: 19.98 kB / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.3005, allocations: 40.81 kB / 1.246 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3005, allocations: 3.938 kB / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001893/0.3007, allocations: 69.55 kB / 1.246 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.3007, allocations: 8 kB / 1.246 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3007, allocations: 4.094 kB / 1.246 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.3008, allocations: 0 / 1.246 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/0.3008, allocations: 4 kB / 1.246 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3008, allocations: 4 kB / 1.246 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.3009, allocations: 3.984 kB / 1.246 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.3009, allocations: 4 kB / 1.246 GB, free: 5.23 MB / 0.9981 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.836e-05/0.301, allocations: 113.8 kB / 1.246 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.301, allocations: 0 / 1.246 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.3012, allocations: 76.77 kB / 1.246 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3012, allocations: 4 kB / 1.246 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3012, allocations: 0 / 1.246 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.3012, allocations: 0 / 1.246 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.3014, allocations: 157.6 kB / 1.246 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3014, allocations: 3.938 kB / 1.246 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.3015, allocations: 11.98 kB / 1.246 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3015, allocations: 0 / 1.246 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.423e-06/0.3015, allocations: 8.031 kB / 1.246 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3015, allocations: 0 / 1.246 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3015, allocations: 0 / 1.246 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.3017, allocations: 159.5 kB / 1.247 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.3018, allocations: 85 kB / 1.247 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.3018, allocations: 4 kB / 1.247 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.3019, allocations: 12.02 kB / 1.247 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.3019, allocations: 4 kB / 1.247 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.3019, allocations: 0 / 1.247 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.302, allocations: 83.27 kB / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.302, allocations: 0 / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002227/0.3022, allocations: 15.94 kB / 1.247 GB, free: 4.406 MB / 0.9981 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.0005979/0.3028, allocations: 0.7206 MB / 1.247 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.303, allocations: 39.98 kB / 1.247 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.303, allocations: 0 / 1.247 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.513e-05/0.3031, allocations: 23.92 kB / 1.247 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.3033, allocations: 1.562 kB / 1.247 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.3037, allocations: 139 kB / 1.248 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.304, allocations: 0.6729 MB / 1.248 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.524e-05/0.304, allocations: 12.11 kB / 1.248 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.304, allocations: 7.438 kB / 1.248 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.304, allocations: 0 / 1.248 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1663/0.4703, allocations: 1.509 MB / 1.25 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.558, allocations: 8.062 kB / 1.25 GB, free: 1.254 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches