Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001763/0.001763, allocations: 191 kB / 17.29 MB, free: 5.516 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.445/2.445, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 66.34 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2849, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002715/0.2877, allocations: 1.447 MB / 1.028 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005416/0.2882, allocations: 228.2 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.2883, allocations: 7.938 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.2883, allocations: 0 / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.159e-05/0.2884, allocations: 7.875 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.2887, allocations: 59.81 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.476e-05/0.2888, allocations: 23.98 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.754e-05/0.2889, allocations: 0 / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.699e-05/0.2889, allocations: 8 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.651e-05/0.2889, allocations: 11.92 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.327e-06/0.289, allocations: 4 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.2891, allocations: 67.86 kB / 1.029 GB, free: 244 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.2891, allocations: 4 kB / 1.029 GB, free: 240 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.2891, allocations: 7.938 kB / 1.029 GB, free: 232 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.2893, allocations: 55.86 kB / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2893, allocations: 0 / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.815e-06/0.2893, allocations: 3.984 kB / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2893, allocations: 0 / 1.029 GB, free: 172 kB / 0.795 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.0004174/0.2897, allocations: 343.5 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2898, allocations: 16.03 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.2898, allocations: 4.844 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.2899, allocations: 164.3 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.2899, allocations: 4.375 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-06/0.29, allocations: 384 / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.2901, allocations: 54.22 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2902, allocations: 192 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2902, allocations: 3.938 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2902, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.2903, allocations: 39.95 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.2907, allocations: 248.9 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.2908, allocations: 34.5 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.346e-05/0.2909, allocations: 24.89 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006185/0.2915, allocations: 457.5 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.2915, allocations: 30.56 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2915, allocations: 0 / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003366/0.2919, allocations: 85.58 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.2919, allocations: 51.41 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.716e-05/0.292, allocations: 101.8 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.292, allocations: 29.64 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.2921, allocations: 92.05 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.2921, allocations: 0 / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.2921, allocations: 9.719 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2922, allocations: 327 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.998e-05/0.2923, allocations: 11.98 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.781e-05/0.2924, allocations: 15.92 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.2925, allocations: 44.81 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2926, allocations: 64 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001817/0.2927, allocations: 77.45 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2928, allocations: 4 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2928, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2928, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.406e-05/0.2929, allocations: 11.98 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2929, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.2929, allocations: 11.98 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.293, allocations: 4.031 kB / 1.031 GB, free: 13.59 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 6.354e-05/0.293, allocations: 113.7 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.2931, allocations: 4 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.2933, allocations: 72.72 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2933, allocations: 0 / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2933, allocations: 0 / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2933, allocations: 4 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.2935, allocations: 165.6 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2935, allocations: 0 / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/0.2935, allocations: 7.984 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2935, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.2935, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.2935, allocations: 4 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2936, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.2938, allocations: 167.5 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.2938, allocations: 84.95 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.2938, allocations: 0 / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.2939, allocations: 7.984 kB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.2939, allocations: 0 / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.294, allocations: 0 / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.972e-05/0.294, allocations: 91.39 kB / 1.031 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.294, allocations: 0 / 1.031 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002436/0.2943, allocations: 24.02 kB / 1.032 GB, free: 12.76 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.0001761/0.2945, allocations: 115.2 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.2947, allocations: 35.95 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2947, allocations: 8 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.021e-05/0.2948, allocations: 23.92 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.295, allocations: 7.938 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.2953, allocations: 101.5 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.2955, allocations: 0.6768 MB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.984e-05/0.2955, allocations: 0 / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.2955, allocations: 11.44 kB / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.2955, allocations: 4.062 kB / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of Templates: time 0.002707/0.2983, allocations: 0.6487 MB / 1.033 GB, free: 11.07 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches