Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.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.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002285/0.002285, allocations: 197.8 kB / 16.14 MB, free: 6.711 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.537/1.537, allocations: 222.9 MB / 239.8 MB, free: 4.645 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.809/2.809, allocations: 437 MB / 0.7099 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.001931, allocations: 63.89 kB / 0.8686 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6681/0.67, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002902/0.673, allocations: 1.488 MB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005995/0.6736, allocations: 256.1 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.6736, allocations: 3.938 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.511e-05/0.6736, allocations: 3.938 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.299e-05/0.6737, allocations: 3.938 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.674, allocations: 43.94 kB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.854e-05/0.6741, allocations: 19.94 kB / 1.018 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.998e-05/0.6742, allocations: 7.984 kB / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.587e-05/0.6742, allocations: 8 kB / 1.018 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.391e-05/0.6743, allocations: 7.922 kB / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.787e-06/0.6743, allocations: 4 kB / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.6744, allocations: 63.88 kB / 1.018 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.6745, allocations: 11.98 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.6745, allocations: 3.938 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.6746, allocations: 63.8 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.6746, allocations: 0 / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.82e-07/0.6747, allocations: 0 / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.6747, allocations: 0 / 1.019 GB, free: 0.7812 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005027/0.6752, allocations: 349.5 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.6752, allocations: 12.03 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.6753, allocations: 4.922 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.6754, allocations: 164.3 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.6754, allocations: 4.375 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.6754, allocations: 8.375 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.6756, allocations: 50.23 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.6756, allocations: 192 / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.6757, allocations: 3.938 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.6757, allocations: 0 / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.6758, allocations: 35.91 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.6762, allocations: 252.9 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.6764, allocations: 38.5 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.129e-05/0.6765, allocations: 24.89 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000693/0.6772, allocations: 453.5 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.6772, allocations: 30.56 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6772, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003749/0.6776, allocations: 85.58 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.6776, allocations: 51.53 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.871e-05/0.6777, allocations: 105.8 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.6778, allocations: 25.7 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.6778, allocations: 84.14 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.6778, allocations: 3.906 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.6779, allocations: 17.72 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.678, allocations: 310.8 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.963e-05/0.6781, allocations: 19.97 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.247e-05/0.6782, allocations: 15.98 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.6783, allocations: 48.64 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6784, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001964/0.6786, allocations: 73.5 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.6786, allocations: 8.094 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.6786, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.6786, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.008e-05/0.6787, allocations: 15.98 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.6787, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.6788, allocations: 8.172 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.6788, allocations: 0 / 1.021 GB, free: 14.21 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 (2): * Single equations (assignments): 2 * 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 8.317e-05/0.6789, allocations: 113.8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.6789, allocations: 3.984 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.6791, allocations: 76.72 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.6791, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6791, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.6792, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.6793, allocations: 161.6 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.6793, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.557e-05/0.6794, allocations: 4 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.6794, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.6794, allocations: 12.02 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6794, allocations: 0 / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6794, allocations: 4 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.6797, allocations: 167.4 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.6798, allocations: 77.11 kB / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.6798, allocations: 0 / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.6799, allocations: 8.031 kB / 1.021 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.6799, allocations: 3.984 kB / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.6799, allocations: 4 kB / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.858e-05/0.68, allocations: 75.28 kB / 1.021 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.68, allocations: 0 / 1.021 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002351/0.6802, allocations: 20 kB / 1.021 GB, free: 13.39 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 (2): * Single equations (assignments): 2 * 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.0002145/0.6804, allocations: 119.8 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002174/0.6807, allocations: 35.95 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6807, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.839e-05/0.6808, allocations: 23.86 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.681, allocations: 14.47 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.6813, allocations: 111.6 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.6816, allocations: 0.677 MB / 1.022 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.172e-05/0.6816, allocations: 0 / 1.022 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.91e-05/0.6816, allocations: 11.38 kB / 1.022 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.6817, allocations: 0 / 1.022 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.003078/0.6847, allocations: 0.5863 MB / 1.023 GB, free: 11.76 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches