Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.318/1.318, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 182.8 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009287/0.0009283, allocations: 86.36 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.000375, allocations: 11.53 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2357, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1684/0.4042, allocations: 131.9 MB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4045, allocations: 75.97 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004502/0.409, allocations: 1.573 MB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.098e-06/0.409, allocations: 0 / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.4091, allocations: 3.938 kB / 1.03 GB, free: 10.23 MB / 0.6823 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.0003673/0.4094, allocations: 347.2 kB / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4095, allocations: 8.031 kB / 1.031 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.4095, allocations: 4 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.4096, allocations: 175 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4097, allocations: 4 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.4097, allocations: 11.92 kB / 1.031 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.4099, allocations: 53.67 kB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.4099, allocations: 0 / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.4099, allocations: 0 / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4099, allocations: 0 / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.4101, allocations: 43.97 kB / 1.031 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.4105, allocations: 268.8 kB / 1.031 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.4106, allocations: 46.5 kB / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005715/0.4112, allocations: 453.5 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.4113, allocations: 34.56 kB / 1.032 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4113, allocations: 0 / 1.032 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003448/0.4116, allocations: 101.7 kB / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.4117, allocations: 51.41 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.899e-05/0.4117, allocations: 92.94 kB / 1.032 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.4118, allocations: 25.7 kB / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.4118, allocations: 84.14 kB / 1.032 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.4118, allocations: 7.906 kB / 1.032 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.4118, allocations: 0 / 1.032 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.412, allocations: 322.8 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.103e-05/0.412, allocations: 23.92 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.95e-05/0.4121, allocations: 24.59 kB / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.943e-05/0.4122, allocations: 28.05 kB / 1.033 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4122, allocations: 0 / 1.033 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00018/0.4124, allocations: 73.66 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.4124, allocations: 4 kB / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4124, allocations: 0 / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4124, allocations: 4.031 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.735e-05/0.4125, allocations: 11.98 kB / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4126, allocations: 0 / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.189e-05/0.4126, allocations: 11.98 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.4126, allocations: 3.938 kB / 1.033 GB, free: 7.652 MB / 0.6823 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 0.0001003/0.4127, allocations: 113.8 kB / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.4128, allocations: 8 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.413, allocations: 80.69 kB / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.413, allocations: 0 / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.413, allocations: 0 / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.413, allocations: 0 / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.4132, allocations: 165.6 kB / 1.033 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.4132, allocations: 0 / 1.033 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.832e-05/0.4133, allocations: 11.98 kB / 1.033 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.4133, allocations: 4 kB / 1.033 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.4133, allocations: 0 / 1.033 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4133, allocations: 4 kB / 1.033 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4133, allocations: 0 / 1.033 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.4135, allocations: 179.4 kB / 1.033 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.4136, allocations: 77.11 kB / 1.033 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.4136, allocations: 4 kB / 1.033 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.4137, allocations: 7.984 kB / 1.033 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.4137, allocations: 4.031 kB / 1.033 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.4137, allocations: 4 kB / 1.033 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.423e-05/0.4138, allocations: 83.45 kB / 1.033 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4138, allocations: 4 kB / 1.033 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002335/0.414, allocations: 31.92 kB / 1.033 GB, free: 6.785 MB / 0.6823 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.0002484/0.4143, allocations: 131.1 kB / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.4145, allocations: 43.91 kB / 1.034 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4145, allocations: 4 kB / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.941e-05/0.4146, allocations: 28.05 kB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.4148, allocations: 10.12 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.4151, allocations: 104.7 kB / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.4153, allocations: 0.6809 MB / 1.034 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.342e-05/0.4153, allocations: 8.047 kB / 1.034 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.808e-05/0.4154, allocations: 7.438 kB / 1.034 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/0.4154, allocations: 4 kB / 1.034 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of Templates: time 0.002379/0.4178, allocations: 0.5517 MB / 1.035 GB, free: 5.16 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_BesselJ1.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches