Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_9_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_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.075/2.075, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 175.8 kB / 487.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 221.5 MB / 0.7824 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000889/0.0008891, allocations: 102.2 kB / 0.9219 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.657e-05/1.659e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2565, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7897/1.046, allocations: 148 MB / 1.35 GB, free: 18.22 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/1.046, allocations: 76.34 kB / 1.351 GB, free: 18.22 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003829/1.05, allocations: 1.234 MB / 1.352 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.165e-06/1.05, allocations: 0 / 1.352 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.679e-06/1.05, allocations: 1.641 kB / 1.352 GB, free: 33.86 MB / 0.8386 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.0002171/1.051, allocations: 324.6 kB / 1.352 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/1.051, allocations: 11.66 kB / 1.352 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/1.051, allocations: 0 / 1.352 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7e-05/1.051, allocations: 164.3 kB / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/1.051, allocations: 3.984 kB / 1.352 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/1.051, allocations: 0 / 1.352 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.017e-05/1.051, allocations: 8.734 kB / 1.352 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.775e-05/1.051, allocations: 30.34 kB / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/1.051, allocations: 0 / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/1.051, allocations: 0 / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/1.051, allocations: 0 / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.721e-05/1.051, allocations: 127 kB / 1.352 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.697e-05/1.051, allocations: 24.47 kB / 1.352 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.549e-05/1.051, allocations: 6.172 kB / 1.352 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004854/1.052, allocations: 442 kB / 1.353 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/1.052, allocations: 34.8 kB / 1.353 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/1.052, allocations: 0 / 1.353 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001323/1.052, allocations: 34.27 kB / 1.353 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.676e-05/1.052, allocations: 55.95 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.756e-05/1.052, allocations: 86.31 kB / 1.353 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-06/1.052, allocations: 25.7 kB / 1.353 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.087e-05/1.052, allocations: 80.84 kB / 1.353 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/1.052, allocations: 1.938 kB / 1.353 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-06/1.052, allocations: 0 / 1.353 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.147e-05/1.052, allocations: 311.5 kB / 1.353 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-06/1.052, allocations: 1.344 kB / 1.353 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.571e-06/1.052, allocations: 5.281 kB / 1.353 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.741e-05/1.052, allocations: 5.188 kB / 1.353 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.052, allocations: 0 / 1.353 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.171e-05/1.052, allocations: 41.25 kB / 1.353 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/1.052, allocations: 6.062 kB / 1.353 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/1.052, allocations: 3.938 kB / 1.353 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/1.052, allocations: 0.5156 kB / 1.353 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.692e-05/1.052, allocations: 2.594 kB / 1.353 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/1.052, allocations: 0.75 kB / 1.353 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.877e-06/1.052, allocations: 96 / 1.353 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/1.052, allocations: 5.344 kB / 1.353 GB, free: 31.9 MB / 0.8386 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 (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 5.408e-05/1.052, allocations: 101.6 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-06/1.052, allocations: 9.172 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.121e-05/1.052, allocations: 37.05 kB / 1.354 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/1.052, allocations: 0 / 1.354 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.052, allocations: 2.109 kB / 1.354 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/1.052, allocations: 0 / 1.354 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.874e-05/1.052, allocations: 128.2 kB / 1.354 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/1.052, allocations: 4.031 kB / 1.354 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.146e-05/1.052, allocations: 1.875 kB / 1.354 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/1.052, allocations: 1.312 kB / 1.354 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/1.053, allocations: 0.75 kB / 1.354 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/1.053, allocations: 9.766 kB / 1.354 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.053, allocations: 5.281 kB / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.369e-05/1.053, allocations: 52.34 kB / 1.354 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/1.053, allocations: 77.81 kB / 1.354 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/1.053, allocations: 6.047 kB / 1.354 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-06/1.053, allocations: 0 / 1.354 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/1.053, allocations: 9.125 kB / 1.354 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/1.053, allocations: 0 / 1.354 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.244e-05/1.053, allocations: 75.28 kB / 1.354 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.053, allocations: 1.219 kB / 1.354 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000188/1.053, allocations: 20.67 kB / 1.354 GB, free: 31.33 MB / 0.8386 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 (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.0002317/1.053, allocations: 134.9 kB / 1.354 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.604e-05/1.053, allocations: 6.438 kB / 1.354 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.053, allocations: 0 / 1.354 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.613e-06/1.053, allocations: 2.656 kB / 1.354 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.663e-05/1.053, allocations: 0.7969 kB / 1.354 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001391/1.053, allocations: 47.8 kB / 1.354 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/1.054, allocations: 0.6738 MB / 1.355 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.113e-05/1.054, allocations: 0 / 1.355 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.068e-05/1.054, allocations: 8.75 kB / 1.355 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.054, allocations: 0 / 1.355 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of Templates: time 0.002142/1.056, allocations: 374.8 kB / 1.355 GB, free: 30.41 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches