Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001367/0.001367, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.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.576/2.576, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 67.88 kB / 0.8685 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6926/0.6939, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002589/0.6965, allocations: 1.492 MB / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006701/0.6972, allocations: 367.8 kB / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.051e-05/0.6972, allocations: 0 / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.6973, allocations: 3.938 kB / 1.018 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.663e-05/0.6973, allocations: 4 kB / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.6977, allocations: 77.59 kB / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.593e-05/0.6977, allocations: 19.94 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.802e-05/0.6978, allocations: 8 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.315e-05/0.6978, allocations: 11.92 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.87e-05/0.6979, allocations: 7.984 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.6979, allocations: 7.984 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.6981, allocations: 127.8 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.6981, allocations: 3.938 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.6981, allocations: 7.984 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.6983, allocations: 95.73 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6983, allocations: 0 / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.21e-07/0.6983, allocations: 7.938 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.6983, allocations: 0 / 1.019 GB, free: 0.5859 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004014/0.6988, allocations: 355.4 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.6988, allocations: 8.031 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.6988, allocations: 0.9375 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.6989, allocations: 172.3 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.699, allocations: 384 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.699, allocations: 4.375 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.6992, allocations: 62.16 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.6992, allocations: 192 / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.6992, allocations: 7.875 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.6992, allocations: 0 / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.6994, allocations: 31.97 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/0.6997, allocations: 248.9 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.6998, allocations: 46.44 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.657e-05/0.6999, allocations: 20.91 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000669/0.7006, allocations: 465.5 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.7006, allocations: 30.56 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.7006, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003502/0.701, allocations: 77.64 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.701, allocations: 55.41 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.224e-05/0.7011, allocations: 105.9 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.7011, allocations: 25.7 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.7012, allocations: 88.14 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.7012, allocations: 3.906 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.7012, allocations: 9.719 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.7013, allocations: 318.8 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.7014, allocations: 15.97 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.251e-05/0.7015, allocations: 19.98 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.7017, allocations: 36.83 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7017, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001874/0.7019, allocations: 73.5 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.7019, allocations: 4 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.7019, allocations: 4.094 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.7019, allocations: 3.938 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.702, allocations: 11.98 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.702, allocations: 3.984 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.7021, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.7021, allocations: 0 / 1.021 GB, free: 14 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 (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.974e-05/0.7022, allocations: 114.3 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.7022, allocations: 8 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.7024, allocations: 68.78 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.7024, allocations: 3.938 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.7024, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.7024, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.7026, allocations: 165.6 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7026, allocations: 3.938 kB / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.7027, allocations: 7.938 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7027, allocations: 0 / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.7027, allocations: 4.031 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.7027, allocations: 4 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.7027, allocations: 4 kB / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.7029, allocations: 163.5 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.703, allocations: 81.09 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.703, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.7031, allocations: 8.031 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.7031, allocations: 3.984 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-06/0.7031, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.015e-05/0.7032, allocations: 83.47 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7032, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002755/0.7035, allocations: 28 kB / 1.022 GB, free: 13.17 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 (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.0002524/0.7037, allocations: 143.3 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.7039, allocations: 39.89 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7039, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.29e-05/0.704, allocations: 24.05 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.7043, allocations: 3.938 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002328/0.7045, allocations: 107.4 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.7047, allocations: 0.677 MB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.174e-05/0.7048, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.7048, allocations: 11.44 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.7048, allocations: 4.062 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of Templates: time 0.002759/0.7075, allocations: 0.8089 MB / 1.023 GB, free: 11.3 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches