Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_10_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_10_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.0009644/0.0009644, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 182.4 kB / 16.92 MB, free: 6.918 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.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.599/2.599, allocations: 437.8 MB / 0.7128 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003489, allocations: 11.98 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5716/0.5719, allocations: 153.8 MB / 1.024 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0006564/0.5726, allocations: 321.7 kB / 1.024 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004438/0.5731, allocations: 191.3 kB / 1.024 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.676e-06/0.5731, allocations: 0 / 1.024 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.234e-05/0.5731, allocations: 3.938 kB / 1.024 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.957e-06/0.5731, allocations: 3.938 kB / 1.024 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.5734, allocations: 31.97 kB / 1.024 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 2.543e-05/0.5735, allocations: 4 kB / 1.024 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.5735, allocations: 0 / 1.024 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.498e-05/0.5735, allocations: 7.984 kB / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 1.709e-05/0.5735, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.814e-06/0.5736, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.5737, allocations: 67.81 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.981e-06/0.5737, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.5738, allocations: 29.64 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.251e-05/0.5738, allocations: 23.95 kB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5739, allocations: 4 kB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5739, allocations: 0 / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.5739, allocations: 4 kB / 1.024 GB, free: 15.33 MB / 0.7794 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.0002418/0.5741, allocations: 319.6 kB / 1.025 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.5742, allocations: 8.031 kB / 1.025 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.5742, allocations: 0.9375 kB / 1.025 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.453e-05/0.5743, allocations: 160.4 kB / 1.025 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.5743, allocations: 384 / 1.025 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/0.5743, allocations: 4.375 kB / 1.025 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.914e-05/0.5744, allocations: 26.27 kB / 1.025 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.5744, allocations: 4.188 kB / 1.025 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.5744, allocations: 3.938 kB / 1.025 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.5744, allocations: 0 / 1.025 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.848e-05/0.5744, allocations: 7.938 kB / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.5746, allocations: 153.7 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.304e-05/0.5746, allocations: 14.58 kB / 1.025 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.5746, allocations: 8.953 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006708/0.5753, allocations: 457.5 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.5754, allocations: 34.56 kB / 1.026 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.5754, allocations: 0 / 1.026 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001144/0.5755, allocations: 41.48 kB / 1.026 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.5755, allocations: 51.53 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.702e-05/0.5756, allocations: 93.86 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.5756, allocations: 25.7 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.172e-05/0.5756, allocations: 80.14 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.5756, allocations: 4 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.5757, allocations: 13.72 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.5758, allocations: 314.8 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-06/0.5758, allocations: 0 / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.429e-06/0.5758, allocations: 0 / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.572e-05/0.5758, allocations: 12.92 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5758, allocations: 3.938 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.097e-05/0.5759, allocations: 37.58 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.5759, allocations: 8 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.5759, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.5759, allocations: 3.938 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.392e-05/0.576, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.576, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.196e-05/0.576, allocations: 3.984 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.576, allocations: 8.031 kB / 1.026 GB, free: 13.15 MB / 0.7794 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 5.864e-05/0.5761, allocations: 110.4 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-06/0.5761, allocations: 0 / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.837e-05/0.5762, allocations: 40.7 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5762, allocations: 0 / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5762, allocations: 0 / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5762, allocations: 3.984 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.904e-05/0.5763, allocations: 149.7 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5763, allocations: 0 / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-05/0.5763, allocations: 4.031 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5763, allocations: 0 / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.5763, allocations: 7.938 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5763, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5763, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.484e-05/0.5764, allocations: 53.12 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.5764, allocations: 77.11 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.5765, allocations: 7.938 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-06/0.5765, allocations: 4.031 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.135e-05/0.5765, allocations: 0 / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.5765, allocations: 4 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.09e-05/0.5765, allocations: 75.28 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5765, allocations: 3.938 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002019/0.5767, allocations: 19.98 kB / 1.027 GB, free: 12.5 MB / 0.7794 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.0001836/0.5769, allocations: 115.2 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.829e-05/0.577, allocations: 4 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.577, allocations: 0 / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.877e-06/0.577, allocations: 7.984 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.5771, allocations: 1.719 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001641/0.5773, allocations: 108.3 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.5775, allocations: 0.6733 MB / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.104e-05/0.5776, allocations: 7.438 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.5776, allocations: 0 / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of Templates: time 0.001671/0.5792, allocations: 0.5465 MB / 1.028 GB, free: 10.97 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches