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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001115/0.001114, 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.001322/0.001322, allocations: 189.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.37/1.37, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.809/2.809, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 62.61 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3567, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002443/0.3593, allocations: 0.6348 MB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005912/0.3599, allocations: 209.5 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.197e-05/0.3599, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.36, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.833e-06/0.36, allocations: 3.938 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.3603, allocations: 43.89 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.457e-05/0.3604, allocations: 0 / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.3604, allocations: 0 / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.497e-05/0.3605, allocations: 0 / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.142e-05/0.3605, allocations: 8 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.194e-06/0.3605, allocations: 0 / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.3607, allocations: 63.88 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.147e-06/0.3607, allocations: 0 / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.3607, allocations: 3.984 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.3609, allocations: 31.95 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3609, allocations: 0 / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.42e-07/0.3609, allocations: 4 kB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3609, allocations: 0 / 1.069 GB, free: 9.863 MB / 0.8262 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.0003298/0.3612, allocations: 315.6 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3613, allocations: 8.031 kB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.3613, allocations: 0.9375 kB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.834e-05/0.3614, allocations: 172.3 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.3614, allocations: 384 / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.3614, allocations: 4.312 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.794e-05/0.3615, allocations: 34.25 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3616, allocations: 192 / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3616, allocations: 3.938 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3616, allocations: 4 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.009e-05/0.3616, allocations: 4 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/0.3618, allocations: 145.7 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.235e-05/0.3618, allocations: 22.55 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.3618, allocations: 4.859 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007321/0.3626, allocations: 457.5 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.3626, allocations: 30.56 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.3626, allocations: 0 / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001428/0.3628, allocations: 41.62 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.3628, allocations: 55.34 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.559e-05/0.3628, allocations: 89.86 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.3629, allocations: 25.7 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.3629, allocations: 84.27 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.3629, allocations: 4 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.363, allocations: 9.719 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3631, allocations: 314.8 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-06/0.3631, allocations: 0 / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-06/0.3631, allocations: 4 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.73e-05/0.3631, allocations: 12.84 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3631, allocations: 64 / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.552e-05/0.3632, allocations: 37.7 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3632, allocations: 5.562 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3632, allocations: 3.984 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3633, allocations: 7.875 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.605e-05/0.3633, allocations: 4 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3633, allocations: 0 / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.237e-05/0.3633, allocations: 3.906 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.3633, allocations: 0 / 1.07 GB, free: 7.676 MB / 0.8262 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.496e-05/0.3634, allocations: 115.2 kB / 1.07 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-06/0.3634, allocations: 0 / 1.07 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9e-05/0.3635, allocations: 44.77 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3635, allocations: 0 / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3636, allocations: 3.938 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3636, allocations: 0 / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.3637, allocations: 145.7 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3637, allocations: 4 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.3637, allocations: 4 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.3637, allocations: 0 / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3637, allocations: 7.969 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3637, allocations: 3.938 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3637, allocations: 0 / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.781e-05/0.3638, allocations: 61.12 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.3638, allocations: 77.11 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.3639, allocations: 3.938 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-06/0.3639, allocations: 0 / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.3639, allocations: 4.031 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.3639, allocations: 0 / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.113e-05/0.3639, allocations: 75.28 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3639, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002031/0.3641, allocations: 16 kB / 1.071 GB, free: 7.02 MB / 0.8262 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.0002373/0.3644, allocations: 119.2 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.965e-05/0.3645, allocations: 11.94 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3645, allocations: 0 / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.244e-06/0.3645, allocations: 4 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.3646, allocations: 5.203 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002029/0.3649, allocations: 78.69 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.3651, allocations: 0.6731 MB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.494e-05/0.3651, allocations: 4 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.417e-05/0.3652, allocations: 11.56 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3652, allocations: 4 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of Templates: time 0.002556/0.3677, allocations: 402 kB / 1.072 GB, free: 5.656 MB / 0.8262 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