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: translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 107.5 kB / 16.36 MB, free: 6.285 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.001732/0.001732, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.457/2.457, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 70.28 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2943, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002945/0.2973, allocations: 1.443 MB / 1.028 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004987/0.2978, allocations: 248.1 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.2978, allocations: 0 / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.688e-05/0.2979, allocations: 3.938 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.013e-05/0.2979, allocations: 7.875 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.2983, allocations: 67.8 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.65e-05/0.2983, allocations: 12 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.841e-05/0.2984, allocations: 15.98 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.628e-05/0.2985, allocations: 4 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.817e-05/0.2985, allocations: 11.92 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.2985, allocations: 4 kB / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.2987, allocations: 67.86 kB / 1.029 GB, free: 180 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.2987, allocations: 0 / 1.029 GB, free: 180 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.2987, allocations: 11.94 kB / 1.029 GB, free: 168 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.2989, allocations: 55.86 kB / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2989, allocations: 3.984 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2989, allocations: 0 / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2989, allocations: 0 / 1.029 GB, free: 108 kB / 0.795 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.0004484/0.2994, allocations: 351.4 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2994, allocations: 8.031 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.2994, allocations: 8.844 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.2996, allocations: 160.4 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.2996, allocations: 384 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.2996, allocations: 12.36 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.2998, allocations: 50.23 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2998, allocations: 4.188 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2998, allocations: 3.938 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2998, allocations: 0 / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.3, allocations: 31.95 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.3003, allocations: 244.9 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.3004, allocations: 50.48 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.3005, allocations: 20.91 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006499/0.3012, allocations: 453.5 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.3012, allocations: 42.56 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.3012, allocations: 3.938 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.00033/0.3016, allocations: 77.58 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.3016, allocations: 55.41 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/0.3017, allocations: 97.86 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.3017, allocations: 25.7 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.3018, allocations: 88.17 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.3018, allocations: 7.984 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.3018, allocations: 13.72 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.3019, allocations: 310.8 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.066e-05/0.302, allocations: 19.98 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.413e-05/0.3021, allocations: 19.91 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.3022, allocations: 40.89 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3023, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001787/0.3024, allocations: 77.44 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3025, allocations: 8 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3025, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3025, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.791e-05/0.3026, allocations: 8.031 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.3026, allocations: 3.984 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.053e-05/0.3026, allocations: 4 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3027, allocations: 4 kB / 1.031 GB, free: 13.53 MB / 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 7.831e-05/0.3027, allocations: 117.7 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.3028, allocations: 0 / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.303, allocations: 84.7 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.303, allocations: 0 / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.303, allocations: 0 / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.303, allocations: 0 / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.3032, allocations: 157.6 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3032, allocations: 0 / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.533e-05/0.3033, allocations: 11.98 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3033, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.3033, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3033, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3033, allocations: 4 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.3035, allocations: 167.5 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.3036, allocations: 84.95 kB / 1.031 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.3036, allocations: 4 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.3037, allocations: 11.92 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.3037, allocations: 192 / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.3037, allocations: 4.031 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.773e-05/0.3038, allocations: 91.25 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3038, allocations: 0 / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000234/0.304, allocations: 15.94 kB / 1.032 GB, free: 12.68 MB / 0.8106 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.0001768/0.3042, allocations: 115.2 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.3044, allocations: 39.97 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3044, allocations: 3.938 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.006e-05/0.3045, allocations: 19.98 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.3047, allocations: 7.922 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002346/0.305, allocations: 101.6 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.3052, allocations: 0.6808 MB / 1.032 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.97e-05/0.3052, allocations: 0 / 1.032 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.3053, allocations: 7.438 kB / 1.032 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3053, allocations: 0 / 1.032 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of Templates: time 0.002698/0.308, allocations: 0.6699 MB / 1.033 GB, free: 10.99 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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