Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_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.001483/0.001483, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001462, allocations: 200 kB / 16.79 MB, free: 6.828 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.728/2.728, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.42 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3332, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003099/0.3363, allocations: 1.5 MB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006385/0.337, allocations: 259.3 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.337, allocations: 0 / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.361e-05/0.3371, allocations: 7.922 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.88e-05/0.3372, allocations: 3.938 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.3375, allocations: 55.02 kB / 1.055 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.958e-05/0.3376, allocations: 19.92 kB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.783e-05/0.3377, allocations: 8 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.948e-05/0.3377, allocations: 4 kB / 1.055 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.266e-05/0.3378, allocations: 15.92 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.3378, allocations: 0 / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.338, allocations: 67.86 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.338, allocations: 4 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.338, allocations: 11.92 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.3382, allocations: 31.95 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3382, allocations: 0 / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.82e-07/0.3382, allocations: 0 / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.3382, allocations: 0 / 1.055 GB, free: 6.309 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004722/0.3387, allocations: 353.1 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3387, allocations: 11.97 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.3388, allocations: 8.844 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.3389, allocations: 160.4 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.3389, allocations: 384 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.3389, allocations: 8.359 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.3391, allocations: 46.19 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3391, allocations: 192 / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3392, allocations: 15.88 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3392, allocations: 0 / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.3393, allocations: 31.95 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.3397, allocations: 244.9 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.3398, allocations: 46.59 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.872e-05/0.3399, allocations: 28.78 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006987/0.3406, allocations: 457.4 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.3407, allocations: 38.56 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3407, allocations: 0 / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003639/0.3411, allocations: 81.62 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.3411, allocations: 51.41 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.508e-05/0.3412, allocations: 105.8 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.3412, allocations: 25.7 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.3413, allocations: 84.27 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.3413, allocations: 3.906 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.3413, allocations: 17.72 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.3414, allocations: 310.8 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.477e-05/0.3415, allocations: 23.91 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-05/0.3416, allocations: 15.98 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.3417, allocations: 36.89 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3417, allocations: 4 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001859/0.3419, allocations: 69.5 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.342, allocations: 8 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.342, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.342, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.218e-05/0.3421, allocations: 20.02 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.3421, allocations: 0 / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.602e-05/0.3422, allocations: 7.938 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.3422, allocations: 3.984 kB / 1.057 GB, free: 3.719 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 (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 7.623e-05/0.3422, allocations: 113.8 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.3423, allocations: 0 / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.3425, allocations: 76.78 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3425, allocations: 0 / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3425, allocations: 0 / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3425, allocations: 0 / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.3427, allocations: 161.6 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3427, allocations: 0 / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.3428, allocations: 8 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3428, allocations: 0 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.3428, allocations: 0 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3428, allocations: 0 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.3428, allocations: 3.984 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.343, allocations: 175.3 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.3431, allocations: 85.03 kB / 1.057 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.3431, allocations: 4 kB / 1.057 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.3432, allocations: 0 / 1.057 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.3432, allocations: 7.984 kB / 1.057 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.3432, allocations: 4.031 kB / 1.057 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.3433, allocations: 79.28 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3433, allocations: 0 / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002424/0.3435, allocations: 23.91 kB / 1.058 GB, free: 2.895 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 (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.000211/0.3438, allocations: 111.2 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.344, allocations: 43.91 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.344, allocations: 0 / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.701e-05/0.3441, allocations: 19.97 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.3443, allocations: 7.938 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.3446, allocations: 133.1 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.3449, allocations: 0.677 MB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.3449, allocations: 7.438 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.3449, allocations: 0 / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of Templates: time 0.002468/0.3474, allocations: 0.767 MB / 1.059 GB, free: 1.062 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches