Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.331/1.331, allocations: 251.9 MB / 266.9 MB, free: 11 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.001172/0.001172, allocations: 167.8 kB / 326.5 MB, free: 2.25 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.497/1.497, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0007864/0.0007865, allocations: 92.12 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003528, allocations: 9.531 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2176, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1628/0.3805, allocations: 131.2 MB / 1.028 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.3808, allocations: 75.95 kB / 1.028 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003679/0.3845, allocations: 1.273 MB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.368e-06/0.3845, allocations: 0 / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3845, allocations: 3.938 kB / 1.03 GB, free: 11.2 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002629/0.3848, allocations: 331.4 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3849, allocations: 12.03 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.3849, allocations: 0 / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.883e-05/0.385, allocations: 167 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.385, allocations: 0 / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.385, allocations: 0 / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.633e-05/0.3851, allocations: 29.7 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3851, allocations: 0 / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3852, allocations: 3.984 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3852, allocations: 4 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.182e-05/0.3852, allocations: 3.938 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.3853, allocations: 157.6 kB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.243e-05/0.3854, allocations: 14.58 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006523/0.386, allocations: 453.5 kB / 1.031 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.3861, allocations: 30.56 kB / 1.031 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3861, allocations: 0 / 1.031 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001381/0.3862, allocations: 33.64 kB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.3863, allocations: 59.33 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.4e-05/0.3863, allocations: 89 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.3863, allocations: 25.7 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.3864, allocations: 84.27 kB / 1.031 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.3864, allocations: 0 / 1.031 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.3864, allocations: 4 kB / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3866, allocations: 310.8 kB / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.3866, allocations: 0 / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-06/0.3866, allocations: 7.938 kB / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.472e-05/0.3866, allocations: 0 / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3866, allocations: 0 / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.138e-05/0.3867, allocations: 41.66 kB / 1.031 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.3867, allocations: 11.98 kB / 1.031 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3867, allocations: 0 / 1.031 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3867, allocations: 0 / 1.031 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.75e-05/0.3868, allocations: 0 / 1.031 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3868, allocations: 0 / 1.031 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.168e-05/0.3868, allocations: 4 kB / 1.031 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.3868, allocations: 4 kB / 1.031 GB, free: 9.059 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 (1): * Single equations (assignments): 1 * 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.358e-05/0.3869, allocations: 108.4 kB / 1.031 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.3869, allocations: 11.98 kB / 1.031 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.231e-05/0.387, allocations: 36.81 kB / 1.031 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.387, allocations: 0 / 1.031 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.387, allocations: 0 / 1.031 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.387, allocations: 3.938 kB / 1.031 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.3872, allocations: 145.7 kB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3872, allocations: 0 / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.013e-05/0.3872, allocations: 0 / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.3872, allocations: 3.953 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.3872, allocations: 3.984 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3872, allocations: 8.031 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3872, allocations: 0 / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.945e-05/0.3873, allocations: 53.14 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.3874, allocations: 81.05 kB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.3874, allocations: 3.953 kB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-06/0.3874, allocations: 7.984 kB / 1.032 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.3874, allocations: 0 / 1.032 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.3874, allocations: 0 / 1.032 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.957e-05/0.3875, allocations: 79.31 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.3875, allocations: 0 / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002062/0.3877, allocations: 24 kB / 1.032 GB, free: 8.398 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 (1): * Single equations (assignments): 1 * 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.0002909/0.388, allocations: 143 kB / 1.032 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.19e-05/0.388, allocations: 7.938 kB / 1.032 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.388, allocations: 0 / 1.032 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.185e-06/0.3881, allocations: 4 kB / 1.032 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.355e-05/0.3881, allocations: 0 / 1.032 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000248/0.3884, allocations: 78.75 kB / 1.032 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.3887, allocations: 0.6731 MB / 1.033 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.431e-05/0.3887, allocations: 3.984 kB / 1.033 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.253e-05/0.3888, allocations: 11.56 kB / 1.033 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.3888, allocations: 0 / 1.033 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of Templates: time 0.002184/0.391, allocations: 375.9 kB / 1.033 GB, free: 7.051 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches