Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.306/1.306, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001033/0.001033, allocations: 177.9 kB / 326.5 MB, free: 2.273 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.598/1.598, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0008542/0.0008542, allocations: 94.3 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003147, allocations: 10.31 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.207, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/0.3647, allocations: 131.1 MB / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.365, allocations: 79.94 kB / 1.028 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003265/0.3683, allocations: 1.238 MB / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3683, allocations: 4 kB / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3683, allocations: 0 / 1.029 GB, free: 11.34 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.0002469/0.3685, allocations: 331.3 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3686, allocations: 8.031 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.3686, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.541e-05/0.3687, allocations: 167 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3687, allocations: 7.938 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.3688, allocations: 0 / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.186e-05/0.3689, allocations: 33.62 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.3689, allocations: 4 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.3689, allocations: 0 / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3689, allocations: 0 / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.048e-05/0.3689, allocations: 4 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.3691, allocations: 145.6 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.783e-05/0.3691, allocations: 22.61 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005812/0.3697, allocations: 445.5 kB / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.3697, allocations: 30.56 kB / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 3.126e-06/0.3697, allocations: 0 / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001473/0.3699, allocations: 41.62 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.3699, allocations: 51.41 kB / 1.031 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.339e-05/0.37, allocations: 85 kB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.37, allocations: 29.83 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.37, allocations: 80.14 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.3701, allocations: 4 kB / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-06/0.3701, allocations: 0 / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3702, allocations: 310.8 kB / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.3702, allocations: 0 / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.447e-05/0.3702, allocations: 0 / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.087e-05/0.3703, allocations: 8 kB / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3703, allocations: 0 / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.651e-05/0.3703, allocations: 45.64 kB / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3703, allocations: 6.188 kB / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3704, allocations: 0 / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3704, allocations: 4 kB / 1.031 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.206e-05/0.3704, allocations: 3.938 kB / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3704, allocations: 0 / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.017e-05/0.3704, allocations: 0 / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.3705, allocations: 3.984 kB / 1.031 GB, free: 9.207 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.078e-05/0.3705, allocations: 114.5 kB / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/0.3705, allocations: 3.953 kB / 1.031 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.415e-05/0.3706, allocations: 44.75 kB / 1.031 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3706, allocations: 4 kB / 1.031 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3706, allocations: 0 / 1.031 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3707, allocations: 0 / 1.031 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.661e-05/0.3707, allocations: 145.7 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3708, allocations: 4 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.286e-05/0.3708, allocations: 0 / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3708, allocations: 3.953 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.3708, allocations: 7.969 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3708, allocations: 0 / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3708, allocations: 0 / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.707e-05/0.3709, allocations: 57.14 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.3709, allocations: 81.09 kB / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.3709, allocations: 3.953 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-06/0.371, allocations: 0 / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.371, allocations: 3.938 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.371, allocations: 8.031 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.567e-05/0.371, allocations: 75.28 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.371, allocations: 0 / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002093/0.3712, allocations: 19.94 kB / 1.032 GB, free: 8.539 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.0002771/0.3715, allocations: 127.2 kB / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.648e-05/0.3716, allocations: 8 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3716, allocations: 0 / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-05/0.3716, allocations: 7.984 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.763e-05/0.3717, allocations: 3.938 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002452/0.372, allocations: 74.7 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.3723, allocations: 0.677 MB / 1.033 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.444e-05/0.3723, allocations: 4.125 kB / 1.033 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.3723, allocations: 7.438 kB / 1.033 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/0.3723, allocations: 3.938 kB / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of Templates: time 0.002479/0.3748, allocations: 371.8 kB / 1.033 GB, free: 7.203 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches