Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009541/0.0009541, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007403/0.007404, allocations: 173.8 kB / 16.27 MB, free: 6.613 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.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.823/2.823, allocations: 462.6 MB / 0.7364 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003663, allocations: 12.72 kB / 0.9027 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3581, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.000737/0.3589, allocations: 326.8 kB / 1.059 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005367/0.3595, allocations: 191.4 kB / 1.059 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.008e-05/0.3595, allocations: 0 / 1.059 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.291e-05/0.3595, allocations: 0 / 1.059 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.72e-06/0.3595, allocations: 0 / 1.059 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.3599, allocations: 35.91 kB / 1.059 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.445e-05/0.3599, allocations: 0 / 1.059 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.367e-05/0.36, allocations: 4 kB / 1.059 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.595e-05/0.36, allocations: 3.984 kB / 1.059 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.33e-05/0.36, allocations: 4 kB / 1.059 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.534e-06/0.3601, allocations: 4 kB / 1.059 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.3603, allocations: 67.88 kB / 1.059 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.3603, allocations: 3.938 kB / 1.059 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.3603, allocations: 25.7 kB / 1.059 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.3605, allocations: 35.88 kB / 1.059 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3605, allocations: 0 / 1.059 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3605, allocations: 0 / 1.059 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3605, allocations: 0 / 1.059 GB, free: 4.293 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002754/0.3608, allocations: 323.5 kB / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3608, allocations: 15.97 kB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.327e-05/0.3608, allocations: 0.9375 kB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.338e-05/0.3609, allocations: 164.4 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.361, allocations: 4.375 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.361, allocations: 384 / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.892e-05/0.3611, allocations: 30.27 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.3611, allocations: 192 / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.3611, allocations: 3.938 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.3611, allocations: 0 / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.696e-05/0.3611, allocations: 7.938 kB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.3613, allocations: 153.7 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.021e-05/0.3613, allocations: 18.56 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.3613, allocations: 8.953 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007457/0.3621, allocations: 453.5 kB / 1.06 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.3621, allocations: 34.56 kB / 1.06 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3621, allocations: 0 / 1.06 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001204/0.3623, allocations: 41.56 kB / 1.06 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.3623, allocations: 51.41 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.433e-05/0.3623, allocations: 89.86 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.3624, allocations: 25.7 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.599e-05/0.3624, allocations: 92.14 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.3624, allocations: 0 / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.3625, allocations: 13.72 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3626, allocations: 314.8 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-06/0.3626, allocations: 0 / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-06/0.3626, allocations: 0 / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.495e-05/0.3626, allocations: 12.8 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.3626, allocations: 0 / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.859e-05/0.3627, allocations: 37.75 kB / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3627, allocations: 4 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3627, allocations: 4 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.3627, allocations: 3.938 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.799e-05/0.3628, allocations: 0 / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3628, allocations: 0 / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.758e-06/0.3628, allocations: 0 / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.3628, allocations: 0 / 1.061 GB, free: 2.105 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 (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 8.069e-05/0.3629, allocations: 113.8 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-06/0.3629, allocations: 8.016 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.363e-05/0.363, allocations: 40.7 kB / 1.061 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.363, allocations: 0 / 1.061 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.363, allocations: 0 / 1.061 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.363, allocations: 0 / 1.061 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.652e-05/0.3631, allocations: 153.7 kB / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3631, allocations: 0 / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.268e-05/0.3632, allocations: 0 / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3632, allocations: 0 / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3632, allocations: 3.938 kB / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3632, allocations: 0 / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3632, allocations: 8.031 kB / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.965e-05/0.3633, allocations: 53.12 kB / 1.061 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.3633, allocations: 77.11 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.3633, allocations: 7.875 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.037e-05/0.3633, allocations: 4 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.3634, allocations: 8 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.3634, allocations: 0 / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.732e-05/0.3634, allocations: 79.31 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3634, allocations: 3.938 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002022/0.3636, allocations: 16 kB / 1.062 GB, free: 1.441 MB / 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 (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.00021/0.3638, allocations: 111.2 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.718e-05/0.3639, allocations: 8 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3639, allocations: 0 / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.725e-06/0.3639, allocations: 4 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.3641, allocations: 3.938 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001784/0.3642, allocations: 82.66 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.3645, allocations: 0.677 MB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.254e-05/0.3645, allocations: 0 / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.267e-05/0.3645, allocations: 7.438 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.3645, allocations: 0 / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of Templates: time 0.002643/0.3672, allocations: 400.6 kB / 1.063 GB, free: 96 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches