Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 119.8 kB / 16.37 MB, free: 6.016 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.001219/0.001219, allocations: 193 kB / 17.31 MB, free: 5.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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.421/2.421, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 68.2 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2902, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001766/0.292, allocations: 0.5744 MB / 1.027 GB, free: 1.492 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004168/0.2924, allocations: 205.6 kB / 1.027 GB, free: 1.293 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.399e-05/0.2925, allocations: 4 kB / 1.028 GB, free: 1.289 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.05e-05/0.2925, allocations: 0 / 1.028 GB, free: 1.289 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.518e-06/0.2925, allocations: 0 / 1.028 GB, free: 1.289 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.2928, allocations: 51.83 kB / 1.028 GB, free: 1.238 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.327e-05/0.2929, allocations: 4 kB / 1.028 GB, free: 1.234 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.154e-05/0.2929, allocations: 7.984 kB / 1.028 GB, free: 1.227 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.072e-05/0.2929, allocations: 0 / 1.028 GB, free: 1.227 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.778e-05/0.293, allocations: 3.984 kB / 1.028 GB, free: 1.223 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.741e-06/0.293, allocations: 0 / 1.028 GB, free: 1.223 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.2931, allocations: 67.81 kB / 1.028 GB, free: 1.156 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.573e-06/0.2931, allocations: 0 / 1.028 GB, free: 1.156 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.536e-05/0.2932, allocations: 0 / 1.028 GB, free: 1.156 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.976e-05/0.2933, allocations: 35.94 kB / 1.028 GB, free: 1.121 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2933, allocations: 0 / 1.028 GB, free: 1.121 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2933, allocations: 0 / 1.028 GB, free: 1.121 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.2933, allocations: 0 / 1.028 GB, free: 1.121 MB / 0.795 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.0002747/0.2936, allocations: 323.6 kB / 1.028 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.2936, allocations: 8.031 kB / 1.028 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.479e-05/0.2936, allocations: 4.875 kB / 1.028 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.501e-05/0.2937, allocations: 164.4 kB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.2937, allocations: 4.375 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-06/0.2937, allocations: 4.312 kB / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.741e-05/0.2938, allocations: 26.27 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.2938, allocations: 192 / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.2939, allocations: 7.938 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2939, allocations: 0 / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.51e-05/0.2939, allocations: 4 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.294, allocations: 149.7 kB / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.251e-05/0.294, allocations: 18.61 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.306e-05/0.2941, allocations: 8.797 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006586/0.2947, allocations: 461.5 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.2948, allocations: 30.56 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.2948, allocations: 0 / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001048/0.2949, allocations: 37.64 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.2949, allocations: 51.41 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.186e-05/0.2949, allocations: 93.98 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.295, allocations: 25.7 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.54e-05/0.295, allocations: 80.14 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.295, allocations: 0 / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.2951, allocations: 21.7 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.2951, allocations: 310.8 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-06/0.2952, allocations: 3.938 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.668e-06/0.2952, allocations: 0 / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.192e-05/0.2952, allocations: 12.92 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2952, allocations: 0 / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.814e-05/0.2953, allocations: 37.7 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.2953, allocations: 8 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.2953, allocations: 0 / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2953, allocations: 3.938 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.217e-05/0.2953, allocations: 3.984 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.788e-06/0.2953, allocations: 0 / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.09e-05/0.2954, allocations: 7.938 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.2954, allocations: 3.938 kB / 1.029 GB, free: 14.93 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 5.874e-05/0.2954, allocations: 113.8 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-06/0.2954, allocations: 3.938 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.52e-05/0.2955, allocations: 36.77 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2955, allocations: 3.984 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2955, allocations: 0 / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2955, allocations: 4 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.755e-05/0.2956, allocations: 145.7 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2956, allocations: 0 / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.064e-05/0.2956, allocations: 4.031 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.2956, allocations: 0 / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.2957, allocations: 7.938 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2957, allocations: 0 / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2957, allocations: 0 / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.531e-05/0.2957, allocations: 57.06 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.2958, allocations: 85.02 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.2958, allocations: 7.938 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-06/0.2958, allocations: 4.031 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.365e-06/0.2958, allocations: 0 / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.2958, allocations: 3.984 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.147e-05/0.2958, allocations: 75.28 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2958, allocations: 0 / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000189/0.296, allocations: 16 kB / 1.03 GB, free: 14.26 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.0001899/0.2962, allocations: 115.2 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.02e-05/0.2963, allocations: 3.984 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2963, allocations: 3.938 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.68e-06/0.2963, allocations: 4 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.2964, allocations: 0 / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001557/0.2966, allocations: 81.08 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.2968, allocations: 0.6691 MB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.957e-06/0.2968, allocations: 4 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.19e-05/0.2968, allocations: 11.42 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2968, allocations: 0 / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of Templates: time 0.002176/0.299, allocations: 428.4 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches