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.001074/0.001074, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001424/0.001425, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.3 MB / 240 MB, free: 5.414 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.755/2.755, allocations: 437.7 MB / 0.7117 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005519/0.000552, allocations: 12 kB / 0.8722 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9057/0.9063, allocations: 153.8 MB / 1.022 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0009055/0.9073, allocations: 325.3 kB / 1.023 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004235/0.9077, allocations: 167.6 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.059e-05/0.9077, allocations: 4 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.162e-05/0.9078, allocations: 0 / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.745e-06/0.9078, allocations: 0 / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.9081, allocations: 43.89 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.573e-05/0.9082, allocations: 0 / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.091e-05/0.9083, allocations: 0 / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.557e-05/0.9083, allocations: 0 / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.472e-05/0.9083, allocations: 0 / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.043e-06/0.9083, allocations: 0 / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.9085, allocations: 63.89 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.792e-06/0.9085, allocations: 0 / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.9086, allocations: 25.7 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.441e-05/0.9087, allocations: 31.95 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.9087, allocations: 0 / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9087, allocations: 0 / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.9087, allocations: 3.938 kB / 1.023 GB, free: 15.42 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.00031/0.909, allocations: 315.4 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.9091, allocations: 8.562 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.9091, allocations: 4 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.9093, allocations: 163 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.9093, allocations: 4 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.9093, allocations: 0 / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.9094, allocations: 33.64 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.9094, allocations: 0 / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.9094, allocations: 0 / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.9094, allocations: 3.938 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.111e-05/0.9095, allocations: 8 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.9097, allocations: 145.7 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.81e-05/0.9097, allocations: 18.52 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.327e-05/0.9097, allocations: 8.953 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007909/0.9105, allocations: 457.5 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.9106, allocations: 38.52 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 3.116e-06/0.9106, allocations: 3.984 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001443/0.9107, allocations: 33.61 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.9108, allocations: 55.39 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.363e-05/0.9108, allocations: 93.86 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.9109, allocations: 25.7 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.9109, allocations: 80.14 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.9109, allocations: 8.062 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.9109, allocations: 4 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.9111, allocations: 310.8 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.437e-06/0.9111, allocations: 0 / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.439e-06/0.9111, allocations: 0 / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.916e-05/0.9111, allocations: 4 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.9111, allocations: 0 / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.923e-05/0.9112, allocations: 29.7 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.9112, allocations: 7.984 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.9112, allocations: 4.094 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.9112, allocations: 7.953 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.848e-05/0.9113, allocations: 0 / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.9113, allocations: 0 / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.249e-05/0.9113, allocations: 4 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.9113, allocations: 0 / 1.025 GB, free: 13.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.901e-05/0.9114, allocations: 109.8 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-06/0.9114, allocations: 3.938 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.922e-05/0.9115, allocations: 40.81 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.9115, allocations: 3.953 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.9115, allocations: 3.938 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.9115, allocations: 0 / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.936e-05/0.9116, allocations: 145.7 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.9117, allocations: 4 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.009e-05/0.9117, allocations: 3.938 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.9117, allocations: 0 / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.9117, allocations: 7.984 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9117, allocations: 0 / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.9117, allocations: 3.953 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.286e-05/0.9118, allocations: 61.11 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.9118, allocations: 77.11 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.9118, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.005e-05/0.9119, allocations: 7.984 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.9119, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.9119, allocations: 7.953 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.805e-05/0.9119, allocations: 75.28 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9119, allocations: 4.031 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002044/0.9121, allocations: 8 kB / 1.025 GB, free: 12.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003346/0.9125, allocations: 123.2 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.058e-05/0.9125, allocations: 4 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9125, allocations: 64 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.867e-06/0.9126, allocations: 11.94 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.9127, allocations: 0 / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001721/0.9129, allocations: 76.78 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.9132, allocations: 0.6731 MB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.366e-05/0.9132, allocations: 4 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.306e-05/0.9132, allocations: 7.438 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.9132, allocations: 0 / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.002717/0.9159, allocations: 392 kB / 1.027 GB, free: 11.28 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/jenkins/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