Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.388/2.388, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.00148/0.00148, allocations: 191.8 kB / 0.4902 GB, free: 2.301 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.639/1.639, allocations: 223.2 MB / 0.7992 GB, free: 14.75 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.0009021/0.0009021, allocations: 99.08 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004114/0.0004115, allocations: 11.78 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2924, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1798/0.4723, allocations: 150.5 MB / 1.376 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.4726, allocations: 71.97 kB / 1.376 GB, free: 3.043 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007243/0.4799, allocations: 2.402 MB / 1.379 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4799, allocations: 0 / 1.379 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.4799, allocations: 0 / 1.379 GB, free: 0.6367 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.0004417/0.4804, allocations: 375.2 kB / 1.379 GB, free: 228 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.4804, allocations: 8.562 kB / 1.379 GB, free: 220 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.4805, allocations: 3.906 kB / 1.379 GB, free: 216 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.4806, allocations: 171 kB / 1.379 GB, free: 4 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.4806, allocations: 3.938 kB / 1.379 GB, free: 0 / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.4806, allocations: 64 / 1.379 GB, free: 16 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.4808, allocations: 57.66 kB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.4809, allocations: 0 / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.4809, allocations: 0 / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4809, allocations: 0 / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.4811, allocations: 47.95 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.4815, allocations: 260.9 kB / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.4816, allocations: 54.48 kB / 1.38 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005444/0.4822, allocations: 449.5 kB / 1.38 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.4822, allocations: 30.56 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.4822, allocations: 0 / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0003474/0.4826, allocations: 97.73 kB / 1.38 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.4826, allocations: 51.41 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.096e-05/0.4827, allocations: 96.94 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.4827, allocations: 29.7 kB / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.4828, allocations: 80.14 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.4828, allocations: 11.83 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.4828, allocations: 0 / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4829, allocations: 318.8 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.202e-05/0.483, allocations: 23.98 kB / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.958e-05/0.4831, allocations: 15.98 kB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.171e-05/0.4832, allocations: 32.03 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4832, allocations: 3.938 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001896/0.4834, allocations: 73.58 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.4834, allocations: 4 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4834, allocations: 8.031 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.4835, allocations: 0 / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.179e-05/0.4836, allocations: 11.98 kB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.4836, allocations: 3.938 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.124e-05/0.4836, allocations: 7.984 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.4837, allocations: 7.938 kB / 1.381 GB, free: 14.04 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 8.954e-05/0.4838, allocations: 117.8 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.4838, allocations: 0 / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.484, allocations: 76.78 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.484, allocations: 0 / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.484, allocations: 0 / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.4841, allocations: 12.02 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.4842, allocations: 157.6 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.4842, allocations: 3.938 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.4843, allocations: 15.98 kB / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4843, allocations: 0 / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.4843, allocations: 0 / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4843, allocations: 0 / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4843, allocations: 3.938 kB / 1.381 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.4845, allocations: 175.5 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.4846, allocations: 77.11 kB / 1.381 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.4846, allocations: 0 / 1.381 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.4847, allocations: 20.02 kB / 1.381 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.4847, allocations: 0 / 1.381 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.4847, allocations: 0 / 1.381 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.18e-05/0.4848, allocations: 83.45 kB / 1.382 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4848, allocations: 0 / 1.382 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002975/0.4851, allocations: 43.83 kB / 1.382 GB, free: 13.18 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.0003651/0.4855, allocations: 159.9 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.4857, allocations: 51.91 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4857, allocations: 0 / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.558e-05/0.4858, allocations: 19.98 kB / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.4861, allocations: 11.94 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.4865, allocations: 116.7 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.4868, allocations: 0.677 MB / 1.383 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.79e-05/0.4869, allocations: 4 kB / 1.383 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.4869, allocations: 7.438 kB / 1.383 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of SimCode: time 2.51e-07/0.4869, allocations: 3.938 kB / 1.383 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of Templates: time 0.00305/0.49, allocations: 0.7581 MB / 1.383 GB, free: 11.31 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches