Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001501/0.001501, allocations: 108 kB / 15.99 MB, free: 6.348 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.001713/0.001713, allocations: 193.1 kB / 16.91 MB, free: 6.188 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.352/1.352, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 68.7 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2893, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.002043/0.2914, allocations: 0.6499 MB / 0.9504 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000529/0.292, allocations: 197.5 kB / 0.9506 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.336e-05/0.292, allocations: 0 / 0.9506 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.292, allocations: 0 / 0.9506 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.13e-06/0.2921, allocations: 0 / 0.9506 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.2925, allocations: 51.89 kB / 0.9507 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.848e-05/0.2926, allocations: 0 / 0.9507 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.2926, allocations: 0 / 0.9507 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.605e-05/0.2926, allocations: 4 kB / 0.9507 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.248e-05/0.2927, allocations: 3.984 kB / 0.9507 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.274e-06/0.2927, allocations: 4 kB / 0.9507 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.2929, allocations: 59.89 kB / 0.9507 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.2929, allocations: 3.984 kB / 0.9507 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.2929, allocations: 3.938 kB / 0.9507 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.872e-05/0.293, allocations: 31.89 kB / 0.9508 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.293, allocations: 4 kB / 0.9508 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2931, allocations: 0 / 0.9508 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.2931, allocations: 0 / 0.9508 GB, free: 8.203 MB / 0.7325 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.0003181/0.2934, allocations: 311.6 kB / 0.9511 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.2934, allocations: 8.031 kB / 0.9511 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.2935, allocations: 8.938 kB / 0.9511 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.509e-05/0.2936, allocations: 164.4 kB / 0.9512 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.2936, allocations: 384 / 0.9512 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.2936, allocations: 384 / 0.9512 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.2937, allocations: 30.25 kB / 0.9513 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2937, allocations: 4.188 kB / 0.9513 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.2938, allocations: 7.938 kB / 0.9513 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2938, allocations: 0 / 0.9513 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.221e-05/0.2938, allocations: 0 / 0.9513 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.294, allocations: 157.5 kB / 0.9514 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.96e-05/0.294, allocations: 18.61 kB / 0.9514 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.294, allocations: 4.859 kB / 0.9514 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008886/0.2949, allocations: 461.5 kB / 0.9519 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.295, allocations: 34.56 kB / 0.9519 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.295, allocations: 0 / 0.9519 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001437/0.2951, allocations: 37.58 kB / 0.952 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.2952, allocations: 55.41 kB / 0.952 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.158e-05/0.2952, allocations: 93.8 kB / 0.9521 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.2952, allocations: 25.7 kB / 0.9521 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.2953, allocations: 80.14 kB / 0.9522 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.2953, allocations: 4.125 kB / 0.9522 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.2953, allocations: 13.72 kB / 0.9522 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2955, allocations: 314.8 kB / 0.9525 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-06/0.2955, allocations: 0 / 0.9525 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-06/0.2955, allocations: 4 kB / 0.9525 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.97e-05/0.2955, allocations: 8.859 kB / 0.9525 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2955, allocations: 0 / 0.9525 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.654e-05/0.2956, allocations: 41.7 kB / 0.9526 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2956, allocations: 4 kB / 0.9526 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2956, allocations: 3.938 kB / 0.9526 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.2956, allocations: 3.938 kB / 0.9526 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.968e-05/0.2957, allocations: 7.984 kB / 0.9526 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2957, allocations: 0 / 0.9526 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.014e-05/0.2957, allocations: 0 / 0.9526 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-06/0.2957, allocations: 0 / 0.9526 GB, free: 6.016 MB / 0.7325 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 7.367e-05/0.2958, allocations: 109.3 kB / 0.9527 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.2958, allocations: 4.031 kB / 0.9527 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.635e-05/0.2959, allocations: 44.77 kB / 0.9527 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.2959, allocations: 7.984 kB / 0.9527 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2959, allocations: 3.938 kB / 0.9528 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.296, allocations: 0 / 0.9528 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.808e-05/0.2961, allocations: 141.7 kB / 0.9529 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2961, allocations: 0 / 0.9529 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.2961, allocations: 4 kB / 0.9529 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2961, allocations: 0 / 0.9529 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.2961, allocations: 3.938 kB / 0.9529 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2961, allocations: 4.031 kB / 0.9529 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2961, allocations: 0 / 0.9529 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.663e-05/0.2962, allocations: 57.12 kB / 0.953 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.2962, allocations: 81.11 kB / 0.953 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.2962, allocations: 3.938 kB / 0.953 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-06/0.2963, allocations: 0 / 0.953 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.026e-05/0.2963, allocations: 0 / 0.953 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.2963, allocations: 32 / 0.953 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.439e-05/0.2963, allocations: 79.28 kB / 0.9531 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2963, allocations: 0 / 0.9531 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002057/0.2965, allocations: 15.98 kB / 0.9531 GB, free: 5.367 MB / 0.7325 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.0002248/0.2968, allocations: 123.2 kB / 0.9532 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.566e-05/0.2968, allocations: 11.98 kB / 0.9533 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2969, allocations: 3.938 kB / 0.9533 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.536e-06/0.2969, allocations: 4 kB / 0.9533 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.297, allocations: 4 kB / 0.9533 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001963/0.2972, allocations: 98.69 kB / 0.9534 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.2975, allocations: 0.6727 MB / 0.954 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.2975, allocations: 15.38 kB / 0.954 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.2975, allocations: 0 / 0.954 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of Templates: time 0.001923/0.2994, allocations: 0.5583 MB / 0.9546 GB, free: 3.812 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches