Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.666/1.666, allocations: 249.3 MB / 261.8 MB, free: 5.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 170.2 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009974/0.0009974, allocations: 86.53 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.041e-05/3.044e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2021, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6955/0.8977, allocations: 131.8 MB / 1.02 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.898, allocations: 76.95 kB / 1.021 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005066/0.9031, allocations: 1.526 MB / 1.022 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.066e-06/0.9031, allocations: 7.938 kB / 1.022 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.9031, allocations: 0 / 1.022 GB, free: 1.582 MB / 0.6355 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.0004232/0.9036, allocations: 349.8 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/0.9036, allocations: 8.031 kB / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.9037, allocations: 0 / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.9039, allocations: 171 kB / 1.023 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.9039, allocations: 0 / 1.023 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.9039, allocations: 3.938 kB / 1.023 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.904, allocations: 41.25 kB / 1.023 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.904, allocations: 3.938 kB / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.9041, allocations: 0 / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.9041, allocations: 0 / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.562e-05/0.9042, allocations: 15 kB / 1.023 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.9047, allocations: 264 kB / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.448e-05/0.9048, allocations: 26.55 kB / 1.023 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.9048, allocations: 11.52 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006157/0.9054, allocations: 452.8 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.9055, allocations: 38.38 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.9055, allocations: 0 / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002043/0.9057, allocations: 40.95 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.9058, allocations: 51.41 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.971e-05/0.9058, allocations: 92.98 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.9059, allocations: 29.73 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.9059, allocations: 88.02 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.906, allocations: 7.906 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.906, allocations: 0 / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.9061, allocations: 314.8 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/0.9061, allocations: 7.312 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/0.9061, allocations: 4 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.044e-05/0.9062, allocations: 7.875 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9062, allocations: 4.062 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.933e-05/0.9063, allocations: 45.44 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.9063, allocations: 4 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.9063, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.9063, allocations: 7.938 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.9064, allocations: 11.98 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.9065, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.9065, allocations: 4 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.9065, allocations: 8.031 kB / 1.024 GB, free: 15.26 MB / 0.6511 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 () * 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.516e-05/0.9066, allocations: 111.2 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.9066, allocations: 4 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.9068, allocations: 55.58 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.9068, allocations: 4 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.9068, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.9068, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.907, allocations: 156.9 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.907, allocations: 4.031 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-05/0.9071, allocations: 11.98 kB / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.9071, allocations: 0 / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.9071, allocations: 3.938 kB / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.9071, allocations: 0 / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9071, allocations: 4 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.9072, allocations: 146.5 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.9073, allocations: 85.14 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.9073, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.9074, allocations: 7.984 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.9074, allocations: 4 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.9074, allocations: 0 / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.806e-05/0.9075, allocations: 82.91 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9075, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002781/0.9078, allocations: 27.92 kB / 1.025 GB, free: 14.49 MB / 0.6511 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 () * 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.000257/0.908, allocations: 123.2 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.9081, allocations: 11.19 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9082, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.62e-05/0.9082, allocations: 10.5 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.9084, allocations: 16.27 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000202/0.9086, allocations: 73.05 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.9088, allocations: 0.677 MB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.436e-05/0.9089, allocations: 4 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.858e-05/0.9089, allocations: 7.438 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.9089, allocations: 0 / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of Templates: time 0.002597/0.9115, allocations: 0.5653 MB / 1.026 GB, free: 12.98 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_BesselJ0.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches