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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.313/2.313, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 191.5 kB / 0.4902 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.69/1.69, allocations: 223.1 MB / 0.7992 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 102.8 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004482/0.0004483, allocations: 18.91 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2775, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2063/0.4838, allocations: 150.2 MB / 1.376 GB, free: 3.348 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.4842, allocations: 71.95 kB / 1.376 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005081/0.4893, allocations: 1.578 MB / 1.378 GB, free: 1.695 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4893, allocations: 0 / 1.378 GB, free: 1.695 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.4893, allocations: 0 / 1.378 GB, free: 1.695 MB / 0.8698 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.0004337/0.4898, allocations: 363.3 kB / 1.378 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4898, allocations: 8.562 kB / 1.378 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.4899, allocations: 3.906 kB / 1.378 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.49, allocations: 175 kB / 1.378 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.49, allocations: 0 / 1.378 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.49, allocations: 0 / 1.378 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.4902, allocations: 59.3 kB / 1.378 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.4902, allocations: 4 kB / 1.378 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.4903, allocations: 0 / 1.378 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.4903, allocations: 4 kB / 1.378 GB, free: 1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.4904, allocations: 39.97 kB / 1.378 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.4909, allocations: 272.9 kB / 1.378 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.4911, allocations: 42.5 kB / 1.378 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006835/0.4917, allocations: 449.5 kB / 1.379 GB, free: 64 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.4918, allocations: 30.56 kB / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.4918, allocations: 3.938 kB / 1.379 GB, free: 20 kB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003991/0.4922, allocations: 97.69 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.4922, allocations: 51.41 kB / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.311e-05/0.4923, allocations: 97 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.4924, allocations: 25.7 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.4924, allocations: 84.27 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.4925, allocations: 3.906 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.4925, allocations: 0 / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4926, allocations: 326.7 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.991e-05/0.4927, allocations: 19.98 kB / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.545e-05/0.4928, allocations: 27.98 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.388e-05/0.4928, allocations: 19.92 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4929, allocations: 0 / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002009/0.4931, allocations: 77.72 kB / 1.38 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4931, allocations: 4 kB / 1.38 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4931, allocations: 4 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.4931, allocations: 0 / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.146e-05/0.4932, allocations: 15.98 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4932, allocations: 0 / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.084e-05/0.4933, allocations: 11.89 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.4933, allocations: 8.031 kB / 1.38 GB, free: 15.11 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.943e-05/0.4934, allocations: 109.8 kB / 1.38 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.4934, allocations: 3.938 kB / 1.38 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.4937, allocations: 88.81 kB / 1.38 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4937, allocations: 0 / 1.38 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4937, allocations: 4 kB / 1.38 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.4937, allocations: 0 / 1.38 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.4939, allocations: 165.6 kB / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.4939, allocations: 0 / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.4939, allocations: 8 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.4939, allocations: 3.984 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.494, allocations: 0 / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.494, allocations: 0 / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.494, allocations: 4.031 kB / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.4942, allocations: 179.4 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.4943, allocations: 77.14 kB / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.4943, allocations: 4 kB / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.4944, allocations: 11.98 kB / 1.38 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.4944, allocations: 0 / 1.38 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.4944, allocations: 0 / 1.38 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.788e-05/0.4945, allocations: 79.28 kB / 1.38 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4945, allocations: 0 / 1.38 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002373/0.4947, allocations: 35.86 kB / 1.381 GB, free: 14.26 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002564/0.495, allocations: 135.9 kB / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.4952, allocations: 47.97 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4952, allocations: 0 / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.62e-05/0.4953, allocations: 27.92 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.4955, allocations: 7.938 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.4958, allocations: 112.8 kB / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.4961, allocations: 0.677 MB / 1.381 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.409e-05/0.4961, allocations: 4 kB / 1.381 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/0.4961, allocations: 7.438 kB / 1.381 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of SimCode: time 2.11e-07/0.4961, allocations: 0 / 1.381 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of Templates: time 0.002545/0.4987, allocations: 0.5541 MB / 1.382 GB, free: 12.63 MB / 0.8855 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 -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","../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches