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.001526/0.001532, allocations: 109.3 kB / 16.27 MB, free: 6.41 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.001514/0.001514, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.364/2.364, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 64.31 kB / 0.8132 GB, free: 33.14 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2892, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.002113/0.2914, allocations: 0.5708 MB / 0.9508 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005613/0.292, allocations: 199.3 kB / 0.951 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.615e-05/0.292, allocations: 4 kB / 0.951 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.292, allocations: 0 / 0.951 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.012e-06/0.2921, allocations: 0 / 0.951 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.2925, allocations: 51.83 kB / 0.9511 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.356e-05/0.2926, allocations: 7.984 kB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.2926, allocations: 0 / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.704e-05/0.2927, allocations: 4 kB / 0.9511 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.202e-05/0.2927, allocations: 0 / 0.9511 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.262e-06/0.2927, allocations: 0 / 0.9511 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.2929, allocations: 59.88 kB / 0.9512 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.2929, allocations: 3.984 kB / 0.9512 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.2929, allocations: 8 kB / 0.9512 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.2931, allocations: 35.89 kB / 0.9512 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2931, allocations: 0 / 0.9512 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2931, allocations: 4 kB / 0.9512 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.2931, allocations: 0 / 0.9512 GB, free: 7.902 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.0003316/0.2934, allocations: 311.6 kB / 0.9515 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2935, allocations: 8.031 kB / 0.9515 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.2935, allocations: 4.875 kB / 0.9515 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.2936, allocations: 172.4 kB / 0.9517 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.2937, allocations: 384 / 0.9517 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.2937, allocations: 4.375 kB / 0.9517 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.951e-05/0.2938, allocations: 26.27 kB / 0.9517 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2938, allocations: 192 / 0.9517 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.2938, allocations: 3.938 kB / 0.9517 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2938, allocations: 4 kB / 0.9517 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.031e-05/0.2938, allocations: 3.938 kB / 0.9517 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.294, allocations: 145.6 kB / 0.9519 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.865e-05/0.294, allocations: 30.59 kB / 0.9519 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.2941, allocations: 6.969 kB / 0.9519 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007828/0.2949, allocations: 453.5 kB / 0.9523 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.2949, allocations: 38.56 kB / 0.9524 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.2949, allocations: 4 kB / 0.9524 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001417/0.2951, allocations: 41.58 kB / 0.9524 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.2951, allocations: 51.41 kB / 0.9525 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.56e-05/0.2952, allocations: 89.86 kB / 0.9525 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.2952, allocations: 25.7 kB / 0.9526 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.2952, allocations: 84.12 kB / 0.9526 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.2952, allocations: 0 / 0.9526 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.2953, allocations: 13.72 kB / 0.9527 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2954, allocations: 323 kB / 0.953 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-06/0.2954, allocations: 0 / 0.953 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-06/0.2954, allocations: 0 / 0.953 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.641e-05/0.2955, allocations: 12.8 kB / 0.953 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2955, allocations: 0 / 0.953 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.303e-05/0.2955, allocations: 33.64 kB / 0.953 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2955, allocations: 8 kB / 0.953 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2955, allocations: 0 / 0.953 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2956, allocations: 8.031 kB / 0.953 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.99e-05/0.2956, allocations: 0 / 0.953 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.2956, allocations: 7.984 kB / 0.953 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.188e-05/0.2957, allocations: 3.984 kB / 0.953 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.2957, allocations: 0 / 0.953 GB, free: 5.707 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.311e-05/0.2957, allocations: 109.8 kB / 0.9531 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-06/0.2957, allocations: 0 / 0.9531 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.19e-05/0.2958, allocations: 40.7 kB / 0.9532 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2958, allocations: 4.031 kB / 0.9532 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2959, allocations: 4 kB / 0.9532 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2959, allocations: 3.984 kB / 0.9532 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.296, allocations: 141.7 kB / 0.9533 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.296, allocations: 3.938 kB / 0.9533 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.301e-05/0.296, allocations: 0 / 0.9533 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.296, allocations: 4 kB / 0.9533 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.296, allocations: 3.938 kB / 0.9533 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.296, allocations: 0 / 0.9533 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.296, allocations: 0 / 0.9533 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.744e-05/0.2961, allocations: 61.12 kB / 0.9534 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.2962, allocations: 81.11 kB / 0.9535 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.2962, allocations: 7.875 kB / 0.9535 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-06/0.2962, allocations: 0 / 0.9535 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.2962, allocations: 0 / 0.9535 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.2962, allocations: 4 kB / 0.9535 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.743e-05/0.2963, allocations: 75.28 kB / 0.9536 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2963, allocations: 0 / 0.9536 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002107/0.2965, allocations: 24.02 kB / 0.9536 GB, free: 5.047 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.0002258/0.2967, allocations: 118.1 kB / 0.9537 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.844e-05/0.2968, allocations: 7.984 kB / 0.9537 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2968, allocations: 0 / 0.9537 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.526e-06/0.2968, allocations: 4.062 kB / 0.9537 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.297, allocations: 4 kB / 0.9537 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002145/0.2972, allocations: 114.6 kB / 0.9538 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.2974, allocations: 0.6727 MB / 0.9545 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/0.2975, allocations: 7.438 kB / 0.9545 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.2975, allocations: 0 / 0.9545 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of Templates: time 0.001998/0.2995, allocations: 0.562 MB / 0.955 GB, free: 3.496 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