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.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.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.001829/0.001829, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001867/0.001867, allocations: 194.6 kB / 16.14 MB, free: 6.648 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.902/2.902, allocations: 461.9 MB / 0.7342 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 65.67 kB / 0.8984 GB, free: 37.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3931, allocations: 157.4 MB / 1.052 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002204/0.3953, allocations: 0.6526 MB / 1.053 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005253/0.3959, allocations: 203.3 kB / 1.053 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.027e-05/0.3959, allocations: 0 / 1.053 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.3959, allocations: 0 / 1.053 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.079e-06/0.396, allocations: 0 / 1.053 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.3963, allocations: 39.89 kB / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.46e-05/0.3964, allocations: 3.984 kB / 1.053 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.3964, allocations: 0 / 1.053 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.272e-05/0.3964, allocations: 0 / 1.053 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.854e-05/0.3965, allocations: 7.938 kB / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.041e-06/0.3965, allocations: 0 / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.3966, allocations: 67.89 kB / 1.053 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.344e-06/0.3967, allocations: 0 / 1.053 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.797e-05/0.3967, allocations: 3.984 kB / 1.053 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.3968, allocations: 31.95 kB / 1.053 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.3968, allocations: 0 / 1.053 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3968, allocations: 4 kB / 1.053 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.3968, allocations: 0 / 1.053 GB, free: 7.891 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.0003371/0.3972, allocations: 319.5 kB / 1.053 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.3972, allocations: 11.97 kB / 1.053 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.3973, allocations: 4.938 kB / 1.053 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.3974, allocations: 164.4 kB / 1.054 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.3974, allocations: 4.359 kB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.3974, allocations: 384 / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.94e-05/0.3975, allocations: 34.25 kB / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3976, allocations: 192 / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3976, allocations: 3.938 kB / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3976, allocations: 4 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.425e-05/0.3976, allocations: 0 / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.3978, allocations: 145.7 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.965e-05/0.3978, allocations: 22.55 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.3979, allocations: 4.859 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008794/0.3988, allocations: 457.5 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.3988, allocations: 34.56 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/0.3988, allocations: 3.938 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001643/0.399, allocations: 37.62 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.399, allocations: 63.28 kB / 1.054 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.697e-05/0.3991, allocations: 89.86 kB / 1.054 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.3991, allocations: 25.7 kB / 1.054 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.3991, allocations: 80.14 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.3992, allocations: 8.125 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.3992, allocations: 9.719 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3994, allocations: 310.8 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.3994, allocations: 0 / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.656e-06/0.3994, allocations: 4 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.653e-05/0.3994, allocations: 8.859 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3994, allocations: 0 / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.84e-05/0.3995, allocations: 37.78 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3995, allocations: 13.19 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3995, allocations: 0 / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3995, allocations: 3.938 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.342e-05/0.3996, allocations: 4 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3996, allocations: 0 / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.221e-05/0.3996, allocations: 4 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.3996, allocations: 0 / 1.055 GB, free: 5.699 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 6.323e-05/0.3997, allocations: 105.8 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-06/0.3997, allocations: 0 / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.411e-05/0.3998, allocations: 52.75 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3998, allocations: 0 / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3998, allocations: 0 / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3998, allocations: 0 / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.626e-05/0.3999, allocations: 141.7 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3999, allocations: 3.984 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.63e-05/0.4, allocations: 4 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4, allocations: 3.938 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.4, allocations: 3.938 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.4, allocations: 0 / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4, allocations: 4.031 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.544e-05/0.4001, allocations: 57.14 kB / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.4001, allocations: 81.09 kB / 1.055 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.4001, allocations: 7.875 kB / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-06/0.4001, allocations: 0 / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.4002, allocations: 0 / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.4002, allocations: 0 / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.654e-05/0.4002, allocations: 79.31 kB / 1.055 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4002, allocations: 0 / 1.055 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002185/0.4004, allocations: 16 kB / 1.055 GB, free: 5.051 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.0002394/0.4007, allocations: 119.2 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.461e-05/0.4008, allocations: 11.88 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4008, allocations: 4.062 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.075e-06/0.4008, allocations: 4 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.4009, allocations: 5.031 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002216/0.4012, allocations: 74.67 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.4014, allocations: 0.6731 MB / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.387e-05/0.4014, allocations: 0 / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.714e-05/0.4015, allocations: 11.44 kB / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of SimCode: time 7.01e-07/0.4015, allocations: 0 / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of Templates: time 0.00259/0.4041, allocations: 416.6 kB / 1.057 GB, free: 3.68 MB / 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