Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006017/0.006017, allocations: 98 kB / 15.73 MB, free: 5.605 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.00139/0.00139, allocations: 197.2 kB / 16.67 MB, free: 5.531 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.559/2.559, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 59.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8603/0.8623, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002423/0.8648, allocations: 1.429 MB / 1.168 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005198/0.8653, allocations: 250.5 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.8654, allocations: 0 / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.8654, allocations: 0 / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.665e-05/0.8654, allocations: 7.938 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.8658, allocations: 55.83 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.291e-05/0.8659, allocations: 23.97 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.868e-05/0.866, allocations: 4 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.87e-05/0.866, allocations: 15.92 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.782e-05/0.8661, allocations: 11.98 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.8661, allocations: 3.938 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.8662, allocations: 55.89 kB / 1.168 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.8662, allocations: 4 kB / 1.168 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.8663, allocations: 19.91 kB / 1.168 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.8664, allocations: 43.45 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8664, allocations: 4 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8664, allocations: 0 / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.8664, allocations: 0 / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004223/0.8669, allocations: 344.4 kB / 1.169 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.8669, allocations: 12.86 kB / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.8669, allocations: 4.938 kB / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.867, allocations: 168.3 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-06/0.8671, allocations: 384 / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.8671, allocations: 12.36 kB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.8672, allocations: 42.25 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.8672, allocations: 192 / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.8673, allocations: 7.938 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.8673, allocations: 0 / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.8674, allocations: 31.95 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.8677, allocations: 256.9 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.8679, allocations: 42.53 kB / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.299e-05/0.868, allocations: 20.91 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006226/0.8686, allocations: 457.5 kB / 1.17 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.8686, allocations: 34.56 kB / 1.17 GB, free: 272 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.8686, allocations: 0 / 1.17 GB, free: 272 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.000333/0.869, allocations: 85.56 kB / 1.17 GB, free: 180 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.869, allocations: 55.41 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/0.8691, allocations: 101.9 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.8691, allocations: 25.7 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.8692, allocations: 84.14 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.8692, allocations: 15.88 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.8693, allocations: 9.719 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.8694, allocations: 314.8 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.168e-05/0.8695, allocations: 15.98 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/0.8695, allocations: 23.97 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.8697, allocations: 36.83 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8697, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001856/0.8699, allocations: 73.48 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.8699, allocations: 8 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.8699, allocations: 4.094 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.8699, allocations: 0 / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.816e-05/0.87, allocations: 7.984 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.87, allocations: 4 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.004e-05/0.8701, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.8701, allocations: 8 kB / 1.171 GB, free: 15.35 MB / 0.9044 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 (2): * Single equations (assignments): 2 * 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.382e-05/0.8702, allocations: 116 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.8702, allocations: 0 / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.8704, allocations: 84.64 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8704, allocations: 0 / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.8704, allocations: 0 / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.8704, allocations: 0 / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.8706, allocations: 157.6 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8706, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/0.8707, allocations: 11.98 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.8707, allocations: 0 / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.8707, allocations: 0 / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.8707, allocations: 4.031 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.8707, allocations: 0 / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.8709, allocations: 163.5 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.871, allocations: 85.06 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.871, allocations: 0 / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.8711, allocations: 12.02 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.8711, allocations: 7.938 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.8711, allocations: 0 / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.8712, allocations: 83.27 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8712, allocations: 0 / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002346/0.8714, allocations: 15.94 kB / 1.171 GB, free: 14.52 MB / 0.9044 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 (2): * Single equations (assignments): 2 * 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.8716, allocations: 119.2 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.8718, allocations: 31.97 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.8718, allocations: 3.938 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.201e-05/0.8719, allocations: 19.98 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.8721, allocations: 11.91 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/0.8724, allocations: 101.5 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.8726, allocations: 0.6768 MB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.98e-05/0.8727, allocations: 0 / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.8727, allocations: 11.44 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.8727, allocations: 0 / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of Templates: time 0.002729/0.8754, allocations: 0.6604 MB / 1.173 GB, free: 12.83 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches