Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007655/0.007655, allocations: 100 kB / 15.73 MB, free: 6.062 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.001703/0.001703, allocations: 193.4 kB / 16.67 MB, free: 5.973 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.678/2.678, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.89 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.869/0.8702, allocations: 159.1 MB / 1.221 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002337/0.8725, allocations: 1.441 MB / 1.222 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000497/0.873, allocations: 251.3 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.8731, allocations: 0 / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.686e-05/0.8731, allocations: 3.938 kB / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.52e-05/0.8731, allocations: 4 kB / 1.222 GB, free: 436 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.8735, allocations: 55.83 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.21e-05/0.8735, allocations: 27.86 kB / 1.222 GB, free: 352 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.46e-05/0.8736, allocations: 11.97 kB / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.404e-05/0.8736, allocations: 8 kB / 1.222 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.784e-05/0.8737, allocations: 15.92 kB / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.8737, allocations: 0 / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.8738, allocations: 59.89 kB / 1.222 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.8738, allocations: 7.984 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.8738, allocations: 7.938 kB / 1.222 GB, free: 240 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.874, allocations: 51.44 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.874, allocations: 0 / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of FrontEnd: time 2.064e-06/0.874, allocations: 0 / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.874, allocations: 3.938 kB / 1.222 GB, free: 188 kB / 0.9356 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.0006124/0.8746, allocations: 348.4 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.297e-05/0.8747, allocations: 16.02 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.539e-05/0.8748, allocations: 4.891 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.875, allocations: 164.3 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.875, allocations: 4.375 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.8751, allocations: 384 / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.8754, allocations: 50.23 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.8754, allocations: 192 / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.8754, allocations: 7.938 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.8754, allocations: 0 / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.8756, allocations: 35.95 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.8761, allocations: 241 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.8763, allocations: 42.44 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.632e-05/0.8764, allocations: 28.89 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009888/0.8774, allocations: 453.5 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.8774, allocations: 38.55 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.8774, allocations: 4 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0004142/0.8778, allocations: 77.59 kB / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.8779, allocations: 63.33 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.878, allocations: 97.86 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.878, allocations: 25.7 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.8781, allocations: 84.09 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.8782, allocations: 16.02 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.8782, allocations: 17.7 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.8784, allocations: 310.8 kB / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.519e-05/0.8785, allocations: 19.98 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-05/0.8786, allocations: 11.98 kB / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.8787, allocations: 44.88 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8787, allocations: 0 / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001857/0.8789, allocations: 69.55 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.879, allocations: 8 kB / 1.225 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.879, allocations: 3.984 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.879, allocations: 192 / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.8791, allocations: 4 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.8791, allocations: 11.97 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.8791, allocations: 11.98 kB / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.8791, allocations: 3.984 kB / 1.225 GB, free: 13.59 MB / 0.9512 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.241e-05/0.8792, allocations: 110.3 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.8793, allocations: 0 / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.8795, allocations: 72.78 kB / 1.225 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.8795, allocations: 4.016 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.8795, allocations: 7.938 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.8795, allocations: 0 / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.8797, allocations: 157.6 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8797, allocations: 0 / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.519e-05/0.8797, allocations: 11.98 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.8797, allocations: 0 / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.8797, allocations: 0 / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.8797, allocations: 0 / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8797, allocations: 0 / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.88, allocations: 171.4 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.88, allocations: 81.11 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.88, allocations: 0 / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.8801, allocations: 7.984 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.8801, allocations: 0 / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.8801, allocations: 0 / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.743e-05/0.8802, allocations: 83.31 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.8802, allocations: 0 / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002509/0.8804, allocations: 23.86 kB / 1.225 GB, free: 12.78 MB / 0.9512 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.0002165/0.8806, allocations: 115.2 kB / 1.226 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.8809, allocations: 43.89 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8809, allocations: 0 / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.048e-05/0.8809, allocations: 15.98 kB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.8812, allocations: 7.938 kB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.8815, allocations: 105.5 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.8817, allocations: 0.6768 MB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.329e-05/0.8818, allocations: 15.97 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.158e-05/0.8818, allocations: 7.438 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of SimCode: time 5.51e-07/0.8818, allocations: 0 / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of Templates: time 0.002978/0.8848, allocations: 0.6655 MB / 1.227 GB, free: 11.07 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches