Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_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.0007934/0.0007935, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.0053/0.0053, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.438/1.438, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.86/2.86, allocations: 462.7 MB / 0.7364 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003844, allocations: 14.84 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3811, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001743/0.3829, allocations: 1.16 MB / 1.06 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005934/0.3835, allocations: 243.3 kB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.317e-05/0.3835, allocations: 0 / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.3836, allocations: 3.984 kB / 1.06 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.656e-05/0.3836, allocations: 11.94 kB / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.3839, allocations: 43.89 kB / 1.06 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.293e-05/0.384, allocations: 19.92 kB / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.634e-05/0.3841, allocations: 8 kB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.866e-05/0.3841, allocations: 0 / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.955e-05/0.3842, allocations: 19.86 kB / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.308e-06/0.3842, allocations: 0 / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.3844, allocations: 71.86 kB / 1.06 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.3844, allocations: 8 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.3844, allocations: 29.64 kB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.3846, allocations: 51.91 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3846, allocations: 3.938 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3846, allocations: 0 / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.217e-06/0.3846, allocations: 0 / 1.06 GB, free: 3.785 MB / 0.8106 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.0005028/0.3851, allocations: 351.7 kB / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/0.3852, allocations: 12.03 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.3852, allocations: 0.9375 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.3854, allocations: 168.3 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.3855, allocations: 384 / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.3855, allocations: 384 / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.3857, allocations: 58.17 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3857, allocations: 192 / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3857, allocations: 3.938 kB / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3858, allocations: 4 kB / 1.061 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.386, allocations: 47.95 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.3864, allocations: 245 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.3865, allocations: 50.42 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3866, allocations: 28.91 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006753/0.3873, allocations: 457.4 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3874, allocations: 38.56 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 7.754e-06/0.3874, allocations: 3.984 kB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000386/0.3878, allocations: 93.64 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.3878, allocations: 55.41 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.3879, allocations: 97.84 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3879, allocations: 29.7 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.388, allocations: 84.27 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.388, allocations: 11.84 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.3881, allocations: 9.719 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3882, allocations: 318.8 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.638e-05/0.3883, allocations: 19.98 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.067e-05/0.3884, allocations: 23.98 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.3886, allocations: 48.81 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3886, allocations: 0 / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002098/0.3888, allocations: 81.67 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3888, allocations: 4 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3888, allocations: 0 / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.3888, allocations: 3.938 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.286e-05/0.3889, allocations: 19.92 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.389, allocations: 4.031 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/0.389, allocations: 7.984 kB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.389, allocations: 0 / 1.063 GB, free: 1.133 MB / 0.8106 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 7.745e-05/0.3891, allocations: 113.8 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.3891, allocations: 3.906 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.3894, allocations: 84.78 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3894, allocations: 0 / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3894, allocations: 0 / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3894, allocations: 0 / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.3896, allocations: 161.6 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3896, allocations: 4 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.095e-05/0.3897, allocations: 11.98 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3897, allocations: 4.031 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/0.3897, allocations: 0 / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3897, allocations: 3.938 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3897, allocations: 0 / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.39, allocations: 175.5 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.39, allocations: 85.05 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.39, allocations: 0 / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/0.3901, allocations: 7.984 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.3902, allocations: 4 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.3902, allocations: 0 / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.244e-05/0.3902, allocations: 87.22 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3902, allocations: 4.031 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002406/0.3905, allocations: 16 kB / 1.063 GB, free: 292 kB / 0.8106 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.0002166/0.3907, allocations: 111.2 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.3909, allocations: 55.89 kB / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3909, allocations: 0 / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.45e-05/0.391, allocations: 23.98 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.3913, allocations: 7.938 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.3917, allocations: 120.7 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.3921, allocations: 0.6731 MB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.961e-05/0.3921, allocations: 11.98 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.817e-05/0.3921, allocations: 7.438 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.3921, allocations: 0 / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of Templates: time 0.002922/0.3951, allocations: 0.579 MB / 1.065 GB, free: 14.64 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches