Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.314/2.314, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001994/0.001993, allocations: 183.5 kB / 0.4902 GB, free: 2.215 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.623/1.623, allocations: 223.1 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.00107/0.00107, allocations: 92.31 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003653, allocations: 10.5 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3132, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1958/0.509, allocations: 150.2 MB / 1.376 GB, free: 3.344 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5093, allocations: 71.97 kB / 1.376 GB, free: 3.273 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004862/0.5142, allocations: 1.547 MB / 1.377 GB, free: 1.723 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5142, allocations: 0 / 1.377 GB, free: 1.723 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.5143, allocations: 4 kB / 1.377 GB, free: 1.719 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.0004258/0.5147, allocations: 351.3 kB / 1.378 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.5148, allocations: 12.56 kB / 1.378 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.5148, allocations: 3.906 kB / 1.378 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.5149, allocations: 171 kB / 1.378 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.515, allocations: 0 / 1.378 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.515, allocations: 8 kB / 1.378 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.5152, allocations: 53.62 kB / 1.378 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.5152, allocations: 0 / 1.378 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.5152, allocations: 7.984 kB / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.5152, allocations: 0 / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.5154, allocations: 43.97 kB / 1.378 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.5159, allocations: 266.6 kB / 1.378 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.516, allocations: 42.56 kB / 1.378 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005947/0.5166, allocations: 441.5 kB / 1.379 GB, free: 108 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.5166, allocations: 38.56 kB / 1.379 GB, free: 60 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5166, allocations: 0 / 1.379 GB, free: 60 kB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003928/0.517, allocations: 93.64 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.5171, allocations: 51.41 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.494e-05/0.5172, allocations: 101.1 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.5172, allocations: 29.7 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.5173, allocations: 84.14 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.5173, allocations: 7.906 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.5173, allocations: 0 / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5174, allocations: 314.8 kB / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.623e-05/0.5175, allocations: 19.98 kB / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.5176, allocations: 31.91 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.108e-05/0.5177, allocations: 19.98 kB / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5177, allocations: 0 / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002067/0.5179, allocations: 81.72 kB / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.518, allocations: 4 kB / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.518, allocations: 0 / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/0.518, allocations: 4 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.146e-05/0.5181, allocations: 11.94 kB / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.5181, allocations: 3.984 kB / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/0.5182, allocations: 11.94 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.5182, allocations: 4 kB / 1.38 GB, free: 15.15 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.775e-05/0.5183, allocations: 109.8 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.5183, allocations: 0 / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.5186, allocations: 92.7 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5186, allocations: 3.938 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5186, allocations: 0 / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5186, allocations: 0 / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.5188, allocations: 161.6 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.5188, allocations: 0 / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.38e-05/0.5188, allocations: 11.98 kB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.5188, allocations: 32 / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.5189, allocations: 4 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.5189, allocations: 4 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5189, allocations: 0 / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.5191, allocations: 183.4 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.5192, allocations: 77.11 kB / 1.38 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.5192, allocations: 0 / 1.38 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.5193, allocations: 7.984 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.5194, allocations: 4 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.5194, allocations: 0 / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.19e-05/0.5194, allocations: 87.27 kB / 1.38 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5194, allocations: 0 / 1.38 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002483/0.5197, allocations: 31.97 kB / 1.38 GB, free: 14.29 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.0002432/0.5199, allocations: 128 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.5202, allocations: 47.95 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5202, allocations: 0 / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.783e-05/0.5203, allocations: 27.92 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.5205, allocations: 17 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.5208, allocations: 116.5 kB / 1.381 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.521, allocations: 0.6809 MB / 1.381 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.397e-05/0.5211, allocations: 0 / 1.381 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.911e-05/0.5211, allocations: 7.438 kB / 1.381 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of SimCode: time 4.81e-07/0.5211, allocations: 0 / 1.381 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of Templates: time 0.002694/0.5238, allocations: 0.5434 MB / 1.382 GB, free: 12.67 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches