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.007948/0.007948, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001862/0.001862, allocations: 199 kB / 16.79 MB, free: 6.254 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.47/1.47, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.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.654/2.654, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6677/0.6693, allocations: 140.3 MB / 0.9496 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001637/0.6709, allocations: 0.6472 MB / 0.9502 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004314/0.6714, allocations: 192.1 kB / 0.9504 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.061e-05/0.6714, allocations: 4 kB / 0.9504 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.6714, allocations: 0 / 0.9504 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.42e-06/0.6715, allocations: 0 / 0.9504 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.6717, allocations: 39.59 kB / 0.9504 GB, free: 8.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 2.91e-05/0.6718, allocations: 1.125 kB / 0.9504 GB, free: 8.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.6718, allocations: 5.109 kB / 0.9504 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.223e-05/0.6718, allocations: 1.125 kB / 0.9505 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.621e-05/0.6719, allocations: 0 / 0.9505 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.951e-06/0.6719, allocations: 1.188 kB / 0.9505 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.672, allocations: 64.53 kB / 0.9505 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.592e-06/0.6721, allocations: 7.938 kB / 0.9505 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.594e-05/0.6721, allocations: 5.281 kB / 0.9505 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.236e-05/0.6722, allocations: 19.59 kB / 0.9505 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6722, allocations: 1.125 kB / 0.9505 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.31e-07/0.6722, allocations: 0 / 0.9505 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.6722, allocations: 0 / 0.9505 GB, free: 8.801 MB / 0.7169 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.0002091/0.6724, allocations: 321.2 kB / 0.9509 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.6724, allocations: 10.09 kB / 0.9509 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.611e-05/0.6725, allocations: 0.9375 kB / 0.9509 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.527e-05/0.6725, allocations: 164.3 kB / 0.951 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.6725, allocations: 9.609 kB / 0.951 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.6725, allocations: 384 / 0.951 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.301e-05/0.6726, allocations: 28.77 kB / 0.9511 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.6726, allocations: 192 / 0.9511 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.6726, allocations: 7.938 kB / 0.9511 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.6727, allocations: 9.641 kB / 0.9511 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.653e-05/0.6727, allocations: 0 / 0.9511 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.488e-05/0.6728, allocations: 143 kB / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.951e-05/0.6728, allocations: 25.05 kB / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.315e-05/0.6728, allocations: 10.12 kB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005617/0.6734, allocations: 452 kB / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.6734, allocations: 34.56 kB / 0.9517 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.6734, allocations: 0 / 0.9517 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000103/0.6735, allocations: 39.19 kB / 0.9517 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.6736, allocations: 55.41 kB / 0.9518 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.442e-05/0.6736, allocations: 93.8 kB / 0.9519 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.6736, allocations: 27.39 kB / 0.9519 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.907e-06/0.6736, allocations: 80.14 kB / 0.952 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.6736, allocations: 7.891 kB / 0.952 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.6736, allocations: 11.56 kB / 0.952 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.753e-05/0.6737, allocations: 316.4 kB / 0.9523 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-06/0.6737, allocations: 0 / 0.9523 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.51e-06/0.6737, allocations: 1.406 kB / 0.9523 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.991e-05/0.6737, allocations: 11.45 kB / 0.9523 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6737, allocations: 0 / 0.9523 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.978e-05/0.6738, allocations: 38.78 kB / 0.9524 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.6738, allocations: 5.438 kB / 0.9524 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.6738, allocations: 96 / 0.9524 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.6738, allocations: 9 kB / 0.9524 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.502e-05/0.6739, allocations: 6 kB / 0.9524 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.6739, allocations: 0 / 0.9524 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.516e-06/0.6739, allocations: 0 / 0.9524 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.6739, allocations: 4.656 kB / 0.9524 GB, free: 6.695 MB / 0.7169 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 3.649e-05/0.6739, allocations: 107 kB / 0.9525 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-06/0.6739, allocations: 1.281 kB / 0.9525 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.02e-05/0.674, allocations: 45.53 kB / 0.9525 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.674, allocations: 4.031 kB / 0.9525 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.674, allocations: 0 / 0.9525 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.674, allocations: 1.094 kB / 0.9525 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.46e-05/0.6741, allocations: 145.7 kB / 0.9527 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.6741, allocations: 1.625 kB / 0.9527 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.167e-05/0.6741, allocations: 1.312 kB / 0.9527 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.6741, allocations: 0 / 0.9527 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.6741, allocations: 5.312 kB / 0.9527 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6741, allocations: 3.938 kB / 0.9527 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6741, allocations: 0 / 0.9527 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.512e-05/0.6742, allocations: 60.45 kB / 0.9527 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.6742, allocations: 81.09 kB / 0.9528 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.6742, allocations: 7.938 kB / 0.9528 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.553e-06/0.6742, allocations: 0 / 0.9528 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.367e-06/0.6742, allocations: 1.531 kB / 0.9528 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.6742, allocations: 0 / 0.9528 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.216e-05/0.6743, allocations: 75.28 kB / 0.9529 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.6743, allocations: 5.219 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001906/0.6745, allocations: 10.5 kB / 0.9529 GB, free: 6.078 MB / 0.7169 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.0001796/0.6746, allocations: 118.6 kB / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.783e-05/0.6747, allocations: 6.625 kB / 0.953 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6747, allocations: 0 / 0.953 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.632e-06/0.6747, allocations: 10.69 kB / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.6749, allocations: 2.875 kB / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001416/0.675, allocations: 101.2 kB / 0.9531 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.187e-05/0.6751, allocations: 0.6714 MB / 0.9538 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.608e-06/0.6751, allocations: 7.438 kB / 0.9538 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6751, allocations: 1.25 kB / 0.9538 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of Templates: time 0.001752/0.6769, allocations: 0.5525 MB / 0.9543 GB, free: 4.875 MB / 0.7169 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 -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