Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.005121/0.005121, allocations: 101.7 kB / 15.88 MB, free: 6.328 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.001249/0.001249, allocations: 194.2 kB / 16.79 MB, free: 6.254 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.39/1.39, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.2 MB / 0.6649 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 67.84 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.674/0.6754, allocations: 140.4 MB / 0.9496 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001745/0.6772, allocations: 0.6483 MB / 0.9502 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004434/0.6777, allocations: 197.5 kB / 0.9504 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.659e-06/0.6777, allocations: 1.562 kB / 0.9504 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.786e-05/0.6778, allocations: 0 / 0.9504 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.719e-06/0.6778, allocations: 0 / 0.9504 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.6781, allocations: 43.23 kB / 0.9505 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 2.714e-05/0.6781, allocations: 13.42 kB / 0.9505 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.6782, allocations: 1.5 kB / 0.9505 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.228e-05/0.6782, allocations: 0 / 0.9505 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.701e-05/0.6782, allocations: 1.5 kB / 0.9505 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.382e-06/0.6782, allocations: 0 / 0.9505 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.6784, allocations: 65.47 kB / 0.9505 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.234e-06/0.6784, allocations: 3.938 kB / 0.9505 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.6784, allocations: 1.25 kB / 0.9505 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.395e-05/0.6785, allocations: 28.17 kB / 0.9506 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6785, allocations: 1.375 kB / 0.9506 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6785, allocations: 4 kB / 0.9506 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.6785, allocations: 0 / 0.9506 GB, free: 8.363 MB / 0.7169 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.0002002/0.6787, allocations: 317 kB / 0.9509 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.6788, allocations: 9.625 kB / 0.9509 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.6788, allocations: 0.9375 kB / 0.9509 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.874e-05/0.6789, allocations: 165.8 kB / 0.951 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.6789, allocations: 384 / 0.951 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-06/0.6789, allocations: 384 / 0.951 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.514e-05/0.679, allocations: 29.02 kB / 0.9511 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.679, allocations: 4.188 kB / 0.9511 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.679, allocations: 3.938 kB / 0.9511 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.679, allocations: 0 / 0.9511 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.588e-05/0.679, allocations: 5.312 kB / 0.9511 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.962e-05/0.6791, allocations: 147 kB / 0.9512 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.843e-05/0.6792, allocations: 21.33 kB / 0.9512 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.201e-05/0.6792, allocations: 6.234 kB / 0.9512 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005971/0.6798, allocations: 457.5 kB / 0.9517 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.6798, allocations: 31.94 kB / 0.9517 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.6798, allocations: 0 / 0.9517 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001157/0.6799, allocations: 43.08 kB / 0.9518 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.716e-05/0.6799, allocations: 55.53 kB / 0.9518 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.733e-05/0.68, allocations: 89.86 kB / 0.9519 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.68, allocations: 27.08 kB / 0.9519 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.155e-05/0.68, allocations: 84.12 kB / 0.952 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.68, allocations: 3.906 kB / 0.952 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.6801, allocations: 16.41 kB / 0.952 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.077e-05/0.6801, allocations: 314.8 kB / 0.9523 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-06/0.6801, allocations: 5.375 kB / 0.9523 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-06/0.6801, allocations: 5.375 kB / 0.9523 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.012e-05/0.6801, allocations: 7.609 kB / 0.9523 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6802, allocations: 3.938 kB / 0.9523 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.034e-05/0.6802, allocations: 31.2 kB / 0.9524 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.6802, allocations: 12.05 kB / 0.9524 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.6802, allocations: 1.375 kB / 0.9524 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.6802, allocations: 3.938 kB / 0.9524 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.435e-05/0.6803, allocations: 1.375 kB / 0.9524 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.6803, allocations: 3.984 kB / 0.9524 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.567e-06/0.6803, allocations: 5.469 kB / 0.9524 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.6803, allocations: 0 / 0.9524 GB, free: 6.27 MB / 0.7169 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 4.172e-05/0.6804, allocations: 111.2 kB / 0.9525 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-06/0.6804, allocations: 1.375 kB / 0.9525 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.176e-05/0.6804, allocations: 44.81 kB / 0.9525 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6804, allocations: 0 / 0.9525 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6804, allocations: 0 / 0.9525 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.6805, allocations: 5.359 kB / 0.9526 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.017e-05/0.6805, allocations: 145.7 kB / 0.9527 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6805, allocations: 1.375 kB / 0.9527 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.282e-05/0.6805, allocations: 1.375 kB / 0.9527 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.6805, allocations: 3.984 kB / 0.9527 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.6806, allocations: 5.312 kB / 0.9527 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6806, allocations: 0 / 0.9527 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.6806, allocations: 0 / 0.9527 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.98e-05/0.6806, allocations: 56.02 kB / 0.9528 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.6806, allocations: 81.14 kB / 0.9528 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.868e-06/0.6807, allocations: 5.312 kB / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-06/0.6807, allocations: 7.922 kB / 0.9528 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.6807, allocations: 0 / 0.9528 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.6807, allocations: 1.375 kB / 0.9528 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.302e-05/0.6807, allocations: 75.28 kB / 0.9529 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6807, allocations: 0 / 0.9529 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000192/0.6809, allocations: 11 kB / 0.9529 GB, free: 5.652 MB / 0.7169 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.0001836/0.6811, allocations: 130.8 kB / 0.9531 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.673e-05/0.6812, allocations: 2.75 kB / 0.9531 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6812, allocations: 0 / 0.9531 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.953e-06/0.6812, allocations: 2.75 kB / 0.9531 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.6813, allocations: 1.375 kB / 0.9531 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001436/0.6815, allocations: 98.09 kB / 0.9532 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.191e-05/0.6816, allocations: 0.6783 MB / 0.9538 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.073e-05/0.6816, allocations: 11.44 kB / 0.9538 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.6816, allocations: 0 / 0.9538 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of Templates: time 0.001875/0.6835, allocations: 0.5473 MB / 0.9544 GB, free: 4.449 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches