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 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.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.0009627/0.0009627, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007761/0.007762, allocations: 169 kB / 16.26 MB, free: 6.652 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.613/2.613, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003414, allocations: 11.81 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2776, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001329/0.279, allocations: 1.163 MB / 1.06 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004644/0.2795, allocations: 263.3 kB / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.62e-05/0.2795, allocations: 0 / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.2795, allocations: 0 / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.469e-05/0.2796, allocations: 0 / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.2798, allocations: 51.88 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.204e-05/0.2799, allocations: 27.88 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.505e-05/0.2799, allocations: 0 / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.237e-05/0.28, allocations: 7.984 kB / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.205e-05/0.28, allocations: 11.94 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.28, allocations: 4 kB / 1.06 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.2802, allocations: 71.86 kB / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.917e-06/0.2802, allocations: 3.984 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.2802, allocations: 29.64 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.2803, allocations: 63.84 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2803, allocations: 3.938 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.005e-06/0.2804, allocations: 0 / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.055e-06/0.2804, allocations: 3.938 kB / 1.06 GB, free: 3.16 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.0003543/0.2807, allocations: 347.8 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.2808, allocations: 11.97 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.814e-05/0.2808, allocations: 30.75 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.701e-05/0.2808, allocations: 0.9375 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.653e-05/0.2809, allocations: 172.3 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.303e-06/0.2809, allocations: 384 / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-06/0.2809, allocations: 384 / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.2811, allocations: 58.23 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.2811, allocations: 3.938 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-06/0.2811, allocations: 4 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2811, allocations: 0 / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.2813, allocations: 47.89 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002471/0.2816, allocations: 245 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.2817, allocations: 46.48 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.713e-05/0.2818, allocations: 32.91 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005656/0.2824, allocations: 453.5 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.2824, allocations: 34.56 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2824, allocations: 4 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003332/0.2827, allocations: 97.58 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.2828, allocations: 55.53 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.384e-05/0.2828, allocations: 101.8 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.2828, allocations: 29.7 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.2829, allocations: 80.14 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.2829, allocations: 7.891 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.2829, allocations: 13.72 kB / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.934e-05/0.283, allocations: 314.8 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.218e-05/0.2831, allocations: 19.98 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.329e-05/0.2832, allocations: 23.98 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.2833, allocations: 56.81 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2833, allocations: 3.938 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001869/0.2835, allocations: 73.66 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.2836, allocations: 5.719 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2836, allocations: 11.95 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/0.2836, allocations: 0 / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.314e-05/0.2837, allocations: 12 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.2837, allocations: 0 / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.2837, allocations: 11.89 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.2837, allocations: 0 / 1.063 GB, free: 484 kB / 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 5.829e-05/0.2838, allocations: 121.7 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.2838, allocations: 4 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.284, allocations: 84.7 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2841, allocations: 0 / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2841, allocations: 0 / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.2841, allocations: 0 / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.2842, allocations: 165.6 kB / 1.063 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2842, allocations: 4 kB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.74e-05/0.2843, allocations: 15.98 kB / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2843, allocations: 0 / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.2843, allocations: 4 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2843, allocations: 0 / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2843, allocations: 0 / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.2845, allocations: 175.4 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.2846, allocations: 81.11 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.2846, allocations: 0 / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.2847, allocations: 11.98 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.2847, allocations: 8.031 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.2847, allocations: 0 / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.269e-05/0.2847, allocations: 83.27 kB / 1.063 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2847, allocations: 0 / 1.063 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002171/0.285, allocations: 12 kB / 1.063 GB, free: 15.62 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.0004987/0.2855, allocations: 0.7318 MB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.2857, allocations: 51.94 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2857, allocations: 0 / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.533e-05/0.2858, allocations: 28.05 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.286, allocations: 2.391 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.2863, allocations: 142.3 kB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.2865, allocations: 0.677 MB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.709e-05/0.2865, allocations: 0 / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.2866, allocations: 11.44 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2866, allocations: 4.062 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.221/2.508, allocations: 1.264 MB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/2.508, allocations: 188.8 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/4.151, allocations: 0 / 1.066 GB, free: 12.48 MB / 0.8262 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=50 --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