Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 115.2 kB / 16.37 MB, free: 6.012 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.001155/0.001155, allocations: 192.6 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.3 MB / 0.6655 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 70.38 kB / 0.814 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2533, allocations: 140.4 MB / 0.9511 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001673/0.255, allocations: 0.5841 MB / 0.9517 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004049/0.2554, allocations: 187.4 kB / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.043e-05/0.2554, allocations: 0 / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.057e-05/0.2555, allocations: 4 kB / 0.9519 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.528e-06/0.2555, allocations: 0 / 0.9519 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.2558, allocations: 51.83 kB / 0.9519 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.278e-05/0.2559, allocations: 3.984 kB / 0.9519 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.2559, allocations: 4 kB / 0.9519 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.139e-05/0.2559, allocations: 0 / 0.9519 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.747e-05/0.2559, allocations: 0 / 0.9519 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.46e-06/0.2559, allocations: 3.938 kB / 0.9519 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.2561, allocations: 59.88 kB / 0.952 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.563e-06/0.2561, allocations: 4 kB / 0.952 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.601e-05/0.2561, allocations: 4 kB / 0.952 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.2563, allocations: 31.94 kB / 0.952 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2563, allocations: 4 kB / 0.952 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2563, allocations: 0 / 0.952 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2563, allocations: 0 / 0.952 GB, free: 7.059 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.0002592/0.2565, allocations: 311.6 kB / 0.9523 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.2566, allocations: 12.03 kB / 0.9524 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.2566, allocations: 4.875 kB / 0.9524 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.022e-05/0.2567, allocations: 168.3 kB / 0.9525 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-06/0.2567, allocations: 384 / 0.9525 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.2567, allocations: 4.375 kB / 0.9525 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.818e-05/0.2568, allocations: 30.27 kB / 0.9526 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.932e-06/0.2568, allocations: 192 / 0.9526 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.2568, allocations: 3.938 kB / 0.9526 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2569, allocations: 0 / 0.9526 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.537e-05/0.2569, allocations: 0 / 0.9526 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.257, allocations: 157.6 kB / 0.9527 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.514e-05/0.257, allocations: 22.52 kB / 0.9527 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/0.2571, allocations: 6.969 kB / 0.9527 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006506/0.2577, allocations: 457.6 kB / 0.9532 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.2577, allocations: 30.56 kB / 0.9532 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2578, allocations: 0 / 0.9532 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001098/0.2579, allocations: 41.62 kB / 0.9532 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.2579, allocations: 63.28 kB / 0.9533 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.176e-05/0.2579, allocations: 89.86 kB / 0.9534 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.258, allocations: 25.7 kB / 0.9534 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.05e-05/0.258, allocations: 80.14 kB / 0.9535 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.258, allocations: 4 kB / 0.9535 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.258, allocations: 9.719 kB / 0.9535 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.144e-05/0.2581, allocations: 319 kB / 0.9538 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-06/0.2582, allocations: 0 / 0.9538 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-06/0.2582, allocations: 3.984 kB / 0.9538 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.907e-05/0.2582, allocations: 8.859 kB / 0.9538 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2582, allocations: 0 / 0.9538 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.344e-05/0.2583, allocations: 33.7 kB / 0.9539 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.2583, allocations: 4 kB / 0.9539 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2583, allocations: 4 kB / 0.9539 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.2584, allocations: 7.969 kB / 0.9539 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.243e-05/0.2584, allocations: 8 kB / 0.9539 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2584, allocations: 0 / 0.9539 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.448e-05/0.2585, allocations: 0 / 0.9539 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.2585, allocations: 4 kB / 0.9539 GB, free: 4.867 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 8.301e-05/0.2586, allocations: 109.8 kB / 0.954 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.2586, allocations: 0 / 0.954 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.605e-05/0.2587, allocations: 36.77 kB / 0.954 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2587, allocations: 0 / 0.954 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2587, allocations: 4.031 kB / 0.954 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2587, allocations: 0 / 0.954 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.2588, allocations: 153.7 kB / 0.9542 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2589, allocations: 3.938 kB / 0.9542 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/0.2589, allocations: 0 / 0.9542 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2589, allocations: 0 / 0.9542 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.2589, allocations: 3.938 kB / 0.9542 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2589, allocations: 7.938 kB / 0.9542 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2589, allocations: 0 / 0.9542 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.83e-05/0.259, allocations: 61.12 kB / 0.9542 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.2591, allocations: 77.11 kB / 0.9543 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.2591, allocations: 3.938 kB / 0.9543 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.837e-05/0.2591, allocations: 4 kB / 0.9543 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.2592, allocations: 3.938 kB / 0.9543 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.2592, allocations: 0 / 0.9543 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.2592, allocations: 75.28 kB / 0.9544 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2592, allocations: 0 / 0.9544 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003297/0.2596, allocations: 12 kB / 0.9544 GB, free: 4.219 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.0002028/0.2598, allocations: 127.2 kB / 0.9545 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.847e-05/0.2599, allocations: 7.938 kB / 0.9545 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2599, allocations: 0 / 0.9545 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.38e-05/0.2599, allocations: 4 kB / 0.9545 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.2601, allocations: 4.125 kB / 0.9545 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002253/0.2603, allocations: 80.97 kB / 0.9546 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.2606, allocations: 0.6766 MB / 0.9553 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.262e-05/0.2606, allocations: 0 / 0.9553 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.671e-05/0.2607, allocations: 7.438 kB / 0.9553 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.2607, allocations: 0 / 0.9553 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of Templates: time 0.002215/0.2629, allocations: 412.4 kB / 0.9557 GB, free: 2.852 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches