Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 193.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.512/2.512, allocations: 437 MB / 0.71 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.89 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5818/0.5831, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001613/0.5847, allocations: 0.6449 MB / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004384/0.5852, allocations: 191.4 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.817e-06/0.5852, allocations: 3.938 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.5852, allocations: 0 / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.869e-06/0.5852, allocations: 4 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.5856, allocations: 43.95 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.96e-05/0.5856, allocations: 0 / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 2.783e-05/0.5857, allocations: 3.938 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.1e-05/0.5857, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.563e-05/0.5857, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.591e-06/0.5857, allocations: 4 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.5859, allocations: 67.88 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.897e-06/0.5859, allocations: 4 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.734e-05/0.5859, allocations: 7.922 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.657e-05/0.586, allocations: 35.88 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.586, allocations: 4 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.923e-06/0.586, allocations: 0 / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.586, allocations: 4 kB / 1.018 GB, free: 1.688 MB / 0.7637 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.0002446/0.5863, allocations: 317 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.5863, allocations: 8.031 kB / 1.018 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/0.5864, allocations: 0.9375 kB / 1.018 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.038e-05/0.5864, allocations: 168.4 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-06/0.5865, allocations: 384 / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.5865, allocations: 384 / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.698e-05/0.5865, allocations: 34.2 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.269e-06/0.5866, allocations: 192 / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.5866, allocations: 3.938 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.5866, allocations: 4 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.491e-05/0.5866, allocations: 0 / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001141/0.5867, allocations: 145.7 kB / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.151e-05/0.5868, allocations: 22.59 kB / 1.018 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.236e-05/0.5868, allocations: 4.859 kB / 1.018 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006868/0.5875, allocations: 461.4 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.5875, allocations: 42.5 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.5875, allocations: 4 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001045/0.5876, allocations: 37.64 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.5876, allocations: 51.41 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.126e-05/0.5877, allocations: 89.86 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.5877, allocations: 25.7 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.5877, allocations: 80.14 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.5878, allocations: 3.938 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.5878, allocations: 17.72 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.5879, allocations: 314.8 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-06/0.5879, allocations: 4.125 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-06/0.5879, allocations: 3.938 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.072e-05/0.5879, allocations: 8.859 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.588, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.366e-05/0.588, allocations: 29.7 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.588, allocations: 8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.588, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.588, allocations: 3.938 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.086e-05/0.5881, allocations: 96 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.5881, allocations: 7.984 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.476e-06/0.5881, allocations: 4 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.5881, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.012e-05/0.5882, allocations: 110.4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-06/0.5882, allocations: 3.938 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.308e-05/0.5883, allocations: 40.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5883, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5883, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5883, allocations: 12.02 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.011e-05/0.5884, allocations: 149.7 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.5884, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.898e-06/0.5884, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.5884, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.5884, allocations: 7.938 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5884, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5884, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.527e-05/0.5885, allocations: 61.06 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.5885, allocations: 77.11 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.5885, allocations: 7.938 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-06/0.5885, allocations: 0 / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.5886, allocations: 4 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.5886, allocations: 4 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.683e-05/0.5886, allocations: 75.28 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.282e-06/0.5886, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002083/0.5888, allocations: 23.92 kB / 1.02 GB, free: 14.84 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001773/0.589, allocations: 119.3 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.318e-05/0.5891, allocations: 7.984 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5891, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.334e-06/0.5891, allocations: 3.938 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.5892, allocations: 4 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001414/0.5894, allocations: 85.09 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.5896, allocations: 0.669 MB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.639e-06/0.5896, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.203e-05/0.5896, allocations: 11.44 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5896, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of Templates: time 0.0021/0.5917, allocations: 414.7 kB / 1.021 GB, free: 13.48 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches