Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008261/0.008261, allocations: 101.1 kB / 15.88 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.001971/0.001971, allocations: 197.3 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.366/1.366, allocations: 222.9 MB / 240.5 MB, free: 4.449 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.542/2.542, allocations: 437 MB / 0.7106 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.00156, allocations: 67.83 kB / 0.8692 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6762/0.6778, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001977/0.6798, allocations: 0.6568 MB / 1.018 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005299/0.6803, allocations: 199.4 kB / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.067e-05/0.6804, allocations: 0 / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.6804, allocations: 0 / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.269e-06/0.6804, allocations: 0 / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.6808, allocations: 39.89 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.114e-05/0.6808, allocations: 4 kB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.6809, allocations: 0 / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.813e-05/0.6809, allocations: 4 kB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.015e-05/0.6809, allocations: 11.94 kB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.963e-06/0.6809, allocations: 0 / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.6811, allocations: 59.88 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.6811, allocations: 7.984 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.609e-05/0.6811, allocations: 0 / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.499e-05/0.6812, allocations: 19.97 kB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6812, allocations: 0 / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6813, allocations: 0 / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.6813, allocations: 0 / 1.018 GB, free: 1.824 MB / 0.7637 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.0003111/0.6816, allocations: 325 kB / 1.019 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.6816, allocations: 12.03 kB / 1.019 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.6817, allocations: 0.9375 kB / 1.019 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.069e-05/0.6818, allocations: 172.2 kB / 1.019 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.6818, allocations: 384 / 1.019 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.6818, allocations: 384 / 1.019 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.565e-05/0.6819, allocations: 30.27 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.6819, allocations: 192 / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.6819, allocations: 3.938 kB / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.6819, allocations: 0 / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.05e-05/0.6819, allocations: 4 kB / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.6821, allocations: 145.7 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.775e-05/0.6821, allocations: 22.55 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.6822, allocations: 8.844 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007588/0.6829, allocations: 453.5 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.683, allocations: 42.55 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 2.435e-06/0.683, allocations: 0 / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001316/0.6831, allocations: 41.48 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.6832, allocations: 51.41 kB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.53e-05/0.6832, allocations: 89.86 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.6832, allocations: 29.77 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.864e-05/0.6833, allocations: 84.14 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.6833, allocations: 4 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.6833, allocations: 13.72 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.6834, allocations: 310.8 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.6835, allocations: 3.984 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-06/0.6835, allocations: 4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.481e-05/0.6835, allocations: 4.922 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.6835, allocations: 4 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.067e-05/0.6836, allocations: 33.7 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.6836, allocations: 4 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.6836, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.6836, allocations: 3.938 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.318e-05/0.6837, allocations: 7.938 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.6837, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.728e-06/0.6837, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.6837, allocations: 3.984 kB / 1.02 GB, free: 15.63 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 7.309e-05/0.6838, allocations: 114.4 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.6838, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.771e-05/0.6839, allocations: 40.77 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.6839, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.6839, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.6839, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.574e-05/0.684, allocations: 145.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.684, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-05/0.684, allocations: 7.938 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.684, allocations: 4.031 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.684, allocations: 7.938 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.684, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.684, allocations: 3.938 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.165e-05/0.6841, allocations: 57.12 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.6841, allocations: 77.11 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.6842, allocations: 3.938 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-06/0.6842, allocations: 3.938 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.6842, allocations: 8.016 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.6842, allocations: 0 / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.806e-05/0.6842, allocations: 79.28 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6842, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002087/0.6845, allocations: 19.98 kB / 1.021 GB, free: 14.96 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.0002096/0.6847, allocations: 119.2 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.373e-05/0.6847, allocations: 7.938 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6847, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.274e-06/0.6848, allocations: 3.984 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.6849, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001797/0.6851, allocations: 100.4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.6853, allocations: 0.6692 MB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.445e-05/0.6853, allocations: 11.56 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.6853, allocations: 4 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of Templates: time 0.001776/0.6871, allocations: 0.5504 MB / 1.022 GB, free: 13.43 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches