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.484/1.484, allocations: 249.3 MB / 261.8 MB, free: 5.895 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.001144/0.001144, allocations: 180.8 kB / 321.3 MB, free: 14.68 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.823/1.823, allocations: 205.1 MB / 0.572 GB, free: 10.76 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.0008853/0.0008852, allocations: 99.03 kB / 0.6764 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.602e-05/3.605e-05, allocations: 4 kB / 0.7879 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.25, allocations: 106.3 MB / 0.8918 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8256/1.076, allocations: 131.8 MB / 1.02 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/1.076, allocations: 66.66 kB / 1.021 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004453/1.08, allocations: 1.567 MB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.354e-06/1.08, allocations: 3.938 kB / 1.022 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.624e-06/1.08, allocations: 0 / 1.022 GB, free: 1.543 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.0003763/1.081, allocations: 346.1 kB / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/1.081, allocations: 16.02 kB / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/1.081, allocations: 0 / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/1.081, allocations: 174.9 kB / 1.023 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/1.081, allocations: 0 / 1.023 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/1.081, allocations: 4 kB / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/1.081, allocations: 40.86 kB / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/1.081, allocations: 0 / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/1.081, allocations: 0 / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/1.081, allocations: 0 / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.389e-05/1.081, allocations: 14.75 kB / 1.023 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/1.082, allocations: 269.8 kB / 1.023 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.133e-05/1.082, allocations: 33.11 kB / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.806e-05/1.082, allocations: 7.516 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006088/1.082, allocations: 453 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/1.082, allocations: 34.56 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/1.083, allocations: 0 / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0001407/1.083, allocations: 40.27 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/1.083, allocations: 55.34 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.956e-05/1.083, allocations: 92.98 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/1.083, allocations: 29.73 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.219e-05/1.083, allocations: 87.27 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/1.083, allocations: 3.906 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/1.083, allocations: 0 / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.083, allocations: 318.5 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/1.083, allocations: 4 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.411e-05/1.083, allocations: 7.5 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.979e-05/1.083, allocations: 7.984 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.083, allocations: 4.062 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.205e-05/1.083, allocations: 37.33 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/1.083, allocations: 5.094 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/1.083, allocations: 11.92 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/1.083, allocations: 0 / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.721e-05/1.083, allocations: 15.92 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/1.083, allocations: 0 / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/1.083, allocations: 7.984 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/1.083, allocations: 8.031 kB / 1.024 GB, free: 15.21 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 6.606e-05/1.083, allocations: 104.9 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/1.083, allocations: 3.375 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/1.084, allocations: 52.08 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/1.084, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/1.084, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/1.084, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/1.084, allocations: 157.6 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.084, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/1.084, allocations: 16.02 kB / 1.024 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.084, allocations: 0 / 1.024 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/1.084, allocations: 0 / 1.024 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.084, allocations: 7.938 kB / 1.024 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.084, allocations: 4 kB / 1.024 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/1.084, allocations: 146.3 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/1.084, allocations: 81.14 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/1.084, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.05e-05/1.084, allocations: 11.92 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/1.084, allocations: 4 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/1.084, allocations: 3.812 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.3e-05/1.084, allocations: 83.45 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/1.084, allocations: 0 / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000268/1.085, allocations: 31.92 kB / 1.025 GB, free: 14.44 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.0002763/1.085, allocations: 130.2 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.918e-05/1.085, allocations: 15.81 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.085, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.151e-05/1.085, allocations: 8.062 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/1.085, allocations: 11.95 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002078/1.085, allocations: 61.41 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/1.086, allocations: 0.6809 MB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.301e-05/1.086, allocations: 0 / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.919e-05/1.086, allocations: 7.438 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of SimCode: time 3.31e-07/1.086, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of Templates: time 0.002521/1.088, allocations: 0.562 MB / 1.026 GB, free: 12.93 MB / 0.6511 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